Skip to content

youtube-dlvsyou-get

Unlicense 4121 30 140,026
230.8 thousand (month) Feb 22 2012 2021.12.17(2021-12-16 19:02:14 ago)
56,813 13 381 NOASSERTION
Sep 01 2012 27.4 thousand (month) 0.4.1743(2025-01-04 01:51:10 ago)

youtube-dl is a command-line utility and a library for downloading multimedia content from various websites, including YouTube, Vimeo, TikTok, and many others. It supports a wide range of video and audio formats, and can be used to download both live streams and on-demand videos. The library is written in Python and can be easily integrated into other Python projects. Youtube-dl contains open-source scrapers for hundreds of websites and is a great educational source for understanding how to scrape many popular websites.

you-get is a command-line utility and a library for downloading multimedia content from various websites, such as YouTube, Instagram, TikTok, and many others. It supports a wide range of video and audio formats, and can be used to download both live streams and on-demand videos. The library is written in Python and can be easily integrated into other Python projects.

Just like Youtube-dl, you-get contains open-source scrapers for hundreds of websites and is a great tool to learn about web scraping and popular web scraping techniques.

Highlights


popularcomplex

Example Use


CLI: ```shell $ youtube-dl 'https://www.youtube.com/watch?t=4&v=BaW_jenozKc' ``` Library: ```python import youtube_dl # define the download options options = { 'outtmpl': '%(title)s.%(ext)s', 'format': 'best', 'postprocessors': [{ 'key': 'FFmpegExtractAudio', 'preferredcodec': 'mp3', 'preferredquality': '192', }] } # download the video with youtube_dl.YoutubeDL(options) as ydl: ydl.download(['https://www.youtube.com/watch?v=dQw4w9WgXcQ']) ```
CLI: ```shell $ you-get 'https://www.youtube.com/watch?v=jNQXAC9IVRw' site: YouTube title: Me at the zoo stream: - itag: 43 container: webm quality: medium size: 0.5 MiB (564215 bytes) # download-with: you-get --itag=43 [URL] Downloading Me at the zoo.webm ... 100% ( 0.5/ 0.5MB) ├██████████████████████████████████┤[1/1] 6 MB/s Saving Me at the zoo.en.srt ... Done. ``` Library: ```python import you_get # will save file to `output_video.mp4` you_get.download("https://www.youtube.com/watch?v=dQw4w9WgXcQ", -o "output_video.mp4") ```

Alternatives / Similar


Was this page helpful?