now every time you run this script you can download using GUI
🟥 simple cli way
👉 Youtube playlist/single video
example:
for 1080p
for downloading best quality and large file.. more time
👉 Bilibili playlist or single video
example: (please keep the link simple with the video code only)
⚠️ Extra resources
Steps to Download Videos
1. Open Command Prompt as Administrator
Press Win + S and search for “cmd”.
Right-click on “Command Prompt” and select “Run as administrator.”
2. Check Available Formats (Optional)
Before downloading, you can list all available formats for a video:
3. Download a Single Video
To download a single video in the best available format:
youtube:
billibilli
4. Download a Playlist (Bilibili or YouTube)
youtube:
billibilli:
5. Download Specific Videos from a Playlist
To download specific videos (e.g., videos 10 to 20):
6. Use Random Delays Between Downloads
To reduce the risk of being rate-limited, add a random delay:
This will add a delay of 3 to 8 seconds between downloads.
7. Use Cookies for Restricted Content
If a video or playlist requires login credentials, use browser cookies:
Replace chrome with your browser (e.g., firefox, edge) if using a different one.
Additional Tips
To customize filenames, use the -o option:
Resume an interrupted download by simply rerunning the same command you ran at the beginning. it will check if the file/ files are downloaded or not.. then it will download the rest of the files. yt-dlp will pick up where it left off.