
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A basic library which will give you a better and easier experience with youtube API
A YouTube API based library which will make your coding faster and better. DISCLAIMER! This library is vary basic and not very stabled, therefore you might get some errors.
pip install YouTubeEased
youtube_dl
# This way you call the __init__ function of the library!
from YouTubeEased import YouTubeEased
Now we need to actually call the function by typing:
from YouTubeEased import YouTubeEased
# Here you type the URL!
youtube = YouTubeEased("URL")
If you don't want to use the regular way, you can also call the function from the utils
.
# All the functions can be taken by this way too!
from YouTubeEased.utils import *
from YouTubeEased import YouTubeEased
from YouTubeEased.utils import URLNotSupported
def download(url) -> None:
# except URL errors
try:
youtube = YouTubeEased(url)
print("URL Valid")
except URLNotSupported:
print("URL not supported!")
# -----------------------------------#
# OR: #
# -----------------------------------#
if YouTubeEased(url).is_good_url():
print("URL Valid")
else:
print("URL not supported!")
user = input("Type URL: ")
download(user)
from YouTubeEased import YouTubeEased
user_url = input("Type URL: ")
user_fname = input("Type file name: ")
user_type_download = input("1. Video"
"2. Audio"
"Type Here: ")
youtube = YouTubeEased(user_url)
youtube.rename(user_fname)
if user_type_download == '1':
youtube.download_video()
elif user_type_download == '2':
youtube.download_audio()
else:
print("Wrong input.")
This library was made for educational reasons and to make new coders feel more comfortable around new libraries.
FAQs
A basic library which will give you a better and easier experience with youtube API
We found that YouTubeEased demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.