Questions tagged [youtube-dl]

youtube-dl is an opensource, small command-line program, written in Python, to download videos from YouTube.com and other sites.

youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.3+, and it is not platform specific. It should work on your Unix box, on Windows or on Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.

You can download it with pip, from the download site or using git. In this link you can also find documentation, and some other options. Github repository is available via this link.

Note that questions about installing and using youtube-dl are off-topic for Stack Overflow. They may be more appropriate on SuperUser.

1035 questions
-2
votes
1 answer

Youtube-DL.exe Closes After Launching Command Line

I've used YouTube-dl successfully on my mac for quite some time. I downloaded YouTube-dl.exe (after downloading Microsoft Visual C++ I was told a newer version already exists on my computer - it also says Python is not required), but when I launch…
-2
votes
1 answer

youtube-dl Script to add metadata to already downloaded files

I have a directory of files that I downloaded without metadata using youtube-dl in the format "name-youtubeID" (the standard youtube-dl format). Could someone help me come up with a script in either bash or python what will take the youtube ID part…
florosus
  • 25
  • 5
-2
votes
1 answer

get newest additions to a youtube playlist using youtube-dl

I've got a collaborative youtube playlist with some friends that we use when we get together to play games. The problem is that the internet connection where we get together is quite bad. So I made a little script where people can send songs using…
-2
votes
2 answers

Why isn't youtube_dl woking in my PyCharm IDE?

import youtube_dl youtube_dl 'http://www.youtube.com/watch?v=P9pzm5b6FFY' I have tried this code. But all I get is a syntax error.
-2
votes
2 answers

ffmpeg not working from php script but works from command line

i can run youtube-dl.php from command line "php youtube-dl.php" works fine but not working from http... is it someting with chown? $url = "https://www.youtube.com/watch?v=KdS6HFQ_LUc"; echo "Saving $url"; $cmd = 'youtube-dl -o…
-2
votes
1 answer

Youtube-dl on Linux Mint

I just installed youtube-dl on Linux Mint. I just tried to download a random video but it doesn’t work: I asked same question on AskUbuntu but later realized that its only for Ubuntu OS >youtube-dl -F…
Chinmay Kale
  • 161
  • 1
  • 1
  • 14
-2
votes
3 answers

Full installation instruction of youtube-dl in windows

I have just downloaded the youtube-dl-2014.07.15.tar_2.gz in my windows. At first I want to tell I don't know anything about python. And I already have installed python 2.7. Can anyone give me instruction to execute these scripts? I have already…
user2978381
  • 145
  • 1
  • 2
  • 14
-3
votes
1 answer

Can I search music.youtube.com using youtube-dl / yt-dlp?

I am writing a discord music bot. If I do $ yt-dlp ytsearch:"some query" yt-dlp searches youtube.com. It'd be better if I can directly search music.youtube.com than youtube.com (since I can get the songs directly). Can I search music.youtube.com…
berinaniesh
  • 198
  • 13
-3
votes
1 answer

Error: "No such option: -l" when running yt-dlp

I have adapted code from this Stack Overflow answer to try to download a video and use ffmpeg to alter it yt-dlp "https://www.youtube.com/watch?v=PtkqwslbLY8" -o ffmpeg -i in.mp4 -vcodec libx264 -crf 23 -preset fast -profile:v baseline \ -level…
garson
  • 1,505
  • 3
  • 22
  • 56
-3
votes
1 answer

Why does Youtube-dl not download stated bitrate?

These are the streams of a video I wanted to download: 249 webm audio only DASH audio 58k , opus @ 50k, 1.42MiB 250 webm audio only DASH audio 75k , opus @ 70k, 1.87MiB 140 m4a audio only DASH audio …
Emdosis
  • 1
  • 7
-4
votes
2 answers

youtube-dl command saves as flv and not mp3

So below is my command that I am running. It should be converting it to mp3 but it still exports as a video in flv. What am I doing wrong? $cmd = '/usr/local/bin/youtube-dl -o "%(title)s.%(ext)s" -x --audio-format mp3 --…
tytyguy
  • 340
  • 1
  • 4
  • 15
-8
votes
2 answers

How youtube-dl get video's real url on bilibili?

To open https://github.com/ytdl-org/youtube-dl/tree/master/youtube_dl/extractor ,bilibili.py in it,i get bilibili.py source code,it help nothing. It is no use for a newbie like me to look over and over at bilibili.py's source code. It is difficult…
user7988893
1 2 3
68
69