Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [youtube-dl]

youtube-dl is a small command-line program to download videos from YouTube.com and a few more sites.

-1
votes
0answers
26 views

How to download playlist specific number from youtube-dl?

I want to download from youtube-dl with this command: youtube-dl -i -f --playlist-start 106 ("bestvideo[width>=1920]"/bestvideo)+bestaudio/best "url" but show error.
1
vote
1answer
97 views

How to download a playlist without the videos

Ubuntu 18.04. What I would like to do using youtube-dl is get a list of the video names and the date they were uploaded (the extension doesn't matter) without downloading the videos. Is there a ...
1
vote
2answers
87 views

Re-generate youtube-dl downloaded.txt

I used youtube-dl download youtube m4a files youtube-dl --download-archive downloaded.txt --match-filter 'duration > 1200' -cit -f 140 'httplink' but I had accidentialy deleted the downloaded.txt....
0
votes
1answer
36 views

MPV player auto installed ,checked system logs

I installed youtube-dl using pip and the video opened in mpv player which i did not install . I checked the system logs , and it showed the following: : As-WARNING **: failed to rescan: Failed ...
4
votes
1answer
816 views

How can I download part of a playlist from YouTube with 'youtube-dl'?

I have been using youtube-dl -c -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' https://www.youtube.com/playlist?list=PLgsYTUetbpwNRmhee8yc_4o4MTY_naAmO to download a playlist from ...
0
votes
1answer
530 views

Change name of the video file using youtube-dl not working

I am downloading a video file from a link using youtube-dl. https://res.cloudinary.com/dqozdyzvu/video/upload/v1514809216/29836749002162.mp4 youtube-dl https://res.cloudinary.com/dqozdyzvu/video/...
2
votes
1answer
398 views

upgrading youtube-dl error

My question is similar to the following, but it does not completely address the problem I am facing: How can I update youtube-dl? I have first tried this: sudo youtube-dl -U which gives the output: ...
1
vote
0answers
155 views

How do I keep youtube-dl updated? [duplicate]

I have recently upgraded to Ubuntu 18.04. I used to update youtube-dl via youtube-dl -U, but now I get the error: youtube-dl: error: youtube-dl's self-update mechanism is disabled on Debian. Please ...
2
votes
1answer
1k views

I get an error when i try to update YouTube-dl in 18.04 [duplicate]

When I type youtube-dl -U, I get this error: youtube-dl: error: youtube-dl's self-update mechanism is disabled on Debian. Please update youtube-dl using apt(8). See https://packages.debian.org/sid/...
0
votes
0answers
49 views

Why do I see differences when comparing screenshots from YouTube in a browser and the same video downloaded with youtube-dl in VLC?

Thanks to this website I know that when I use youtube-dl there is no quality loss at all when I download videos. I picked up one video and I downloaded it in several formats/quality etc. I made n ...
0
votes
0answers
93 views

Lossless video download with youtube-dl, possible? [duplicate]

I want to know if it is possible to download 1 to 1 the same video that I see in my browser, without changing (quality/pixel wise) anything. I'm mostly talking about YouTube. youtube-dl: I picked ...
3
votes
1answer
190 views

How to remove youtube-dlg - Ubuntu Mate

I am using Ubuntu Mate. I installed youtube-dl-gui from http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/y/youtube-dlg/ Downloaded youtube-dlg_0.4-1~webupd8~zesty4_all.deb Then ...
2
votes
1answer
569 views

How to download multiple videos in one search? [duplicate]

I tried youtube-dl 'ytsearch:football' but this command downloads only the first video in the top of search results. How to download the top 10 search result ?
3
votes
2answers
2k views

Youtube-dl: Python not found (18.04)

I have done a clean install of 18.04 LTS. I then installed youtube-dl using sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-...
0
votes
1answer
155 views

youtube-dl preserve slashes in video title

If a video is titled "5/12", then using %(title)s produces "5_12". Is there any way to preserve special characters in the filename? I would be okay with something like "5%2F12". Alternatively if ...
-1
votes
1answer
214 views

How to download a format that has audio by itself in youtube-dl?

I want to start watching the downloading file immediately, so if youtube-dl downloads video and audio separately I'll be foiled. I.e, I want youtube-dl to choose the best format that has both video ...
0
votes
1answer
362 views

youtube-dl : search keyword and only download urls

how can I use youtube-dl to only download the urls after a search for keywords. e.g. youtube-dl "gvsearch1:how to create android app in app studio" downloads the entire video , I only need the urls ...
1
vote
1answer
343 views

youtube-dl keep both auto-generated subtitles and prewritten ones

when i download a video with youtube-dl and the --all-subs, --write-sub, --write-auto-sub, i get a mixture of prewritten subtitles and autogenerated ones for example, this video: https://www.youtube....
13
votes
3answers
11k views

Download everything from a YouTube video using youtube-dl

I want to download everything (subtitles, cards, tags, annotations, thumbnails, etc. (and obviously the video w/ audio)) from a YouTube video (for example, this one). I'm using youtube-dl and, with ...
7
votes
2answers
129 views

Command has no manual?

I recently installed youtube-dl. I first used apt-get to install it. However, the version was outdated and there were problems. I was able to look through the documentation using man youtube-dl. In ...
1
vote
0answers
83 views

youtube-dl - Download playlists into corresponding directory, and number the videos in the playlist [duplicate]

I want to download two series of playlists from this channel: https://www.youtube.com/user/mathdude2012/playlists The channel has a "Biology" series of playlists and a "Biochemistry (by chapters)" ...
1
vote
1answer
372 views

How to pass a file containing queries to youtube-dl?

youtube-dl "ytsearchall:" -x --audio-format "mp3" --min-views 20000 -i --audio-quality 1 --no-playlist --skip-unavailable-fragments --match-filter 'duration < 900' I want for the ytsearchall ...
2
votes
1answer
1k views

How to download Facebook videos from command line?

I try to download videos from Facebook from command line. This is what I have used: youtube-dl https://www.facebook.com/Roscosmos/videos/2032700800317930 And as a result I get this error message: [...
0
votes
0answers
148 views

I can't use youtube-dl in oh-my-zsh

I use these commands: sudo apt install python3-pip pip3 install youtube-dl An it says youtube-dl was installed. But when I use it the terminal warns me: zsh: command not found: youtube-dl How can ...
1
vote
0answers
2k views

downloading error in youtube-dl

While trying to download a video from youtube using youtube.dl I got the following error: WARNING: unable to extract uploader nickname ERROR: Signature extraction failed: Traceback (most recent call ...
3
votes
1answer
5k views

How to download a portion of a video with youtube-dl OR something else?

I'd like to be able to download a portion of a video only. For example, being able to specify a start and/or end time for downloading. So, when a user inputs a start and end time of a video, it should ...
3
votes
1answer
1k views

How to download newly uploaded videos from a youtube channel?

I want to set up a script that uses wget to download a video from a channel on youtube, they upload everyday so I want wget to download the newly uploaded video without me having to go on youtube to ...
1
vote
1answer
470 views

youtube-dl delete files that are no longer in a playlist

I have a watch later playlist on YouTube. I both add videos to it and remove watched ones constantly. I use youtube-dl <playlist_url> to download the entire playlist into a current folder. The ...
3
votes
1answer
583 views

How to download and number all videos in a youtube playlist as best quality and also set the directory that they are downloaded to?

I have found a few solutions as to how to do this, however I am not sure how to put them together. I know if I do this: youtube-dl --extract-audio --audio-format mp3 --audio-quality 0 <Video-URL&...
-1
votes
1answer
2k views

filename of video downloaded using youtube-dl consists of random characters at the end of filename.name [duplicate]

There has been a consistent problem with downloading videos from youtube using youtube-dl. The filename has random characters at the end. e.g, original filename of the video is Scala Monads: ...
6
votes
1answer
6k views

How do I download with youtube-dl to get video title as filename?

How the current file has been downloaded to display the original title? When i download always like P9pzm5b6Fxx.mp4, when the title is Tigerking. How do I set it so that it is downloaded as tigerking....
0
votes
0answers
77 views

How to download 360p quality playlists with youtube-dl? [duplicate]

Im a fellow windows user, i recently discovered this program googling how to download from youtube ( i was using for years dedicated programs but they recently stopped for be very good (like half the ...
0
votes
1answer
1k views

youtube-dl mp3 download error [duplicate]

it has been a while I used ubuntu for my daily driver because of me needing VST files in music production, recently picked up this thinkpad. Anyways, whenever I try to download something from youtube ...
0
votes
1answer
2k views

How to force youtube-dl to save Opus-encoded audio as *.opus files

I just want to download both audio and video streams of this video. (WARNING: Maternal Insults ahead) I always barred by errors like this: [youtube] hcQlNng606I: Downloading webpage [youtube] ...
3
votes
1answer
2k views

How to fix youtube-dl error : unable to open for writing: [Errno 21] Is a directory?

I am trying to use youtube-dl to download a video from youtube to a directory and this error pops up: $ youtube-dl -o ~/Videos http://www.youtube.com/watch?v=P0YiWsAM0O8 [youtube] P0YiWsAM0O8: ...
0
votes
1answer
970 views

youtube-dl options? [duplicate]

I download video list and format to mp3 audio, i use this command youtube-dl -x --audio-format mp3 [url/vedio] but if you stop cannot resume download Because the media is formatted. problem is ...
1
vote
1answer
110 views

How to download video format 1 or format 2 using youtube-dl?

I have a video play-list with type "22" and type "18" videos, only when there is no type "22" video I would go for type 18 one. Can I know a way that I can download type 22 or type 18 videos based ...
2
votes
1answer
584 views

Combining several youtube-dl commands into one script

It was recommended to me by a user on here that I make a post asking how I can combine several youtube-dl downloads into on single script to be run. I'm downloading lots of youtube channels and ...
7
votes
4answers
2k views

Running a directory full of .sh files with one command

I've got a directory with lots of .sh files in it, all of which, when run, open a terminal and begin a youtube-dl download. Since there are so many, I was hoping to find a way to activate them all at ...
0
votes
1answer
453 views

youtube-dl removing downloaded parts

youtube-dl downloads mp4 parts and after downloading, combines that parts to make a single mp4 video file. I don't want a single, combined mp4 file. Because i want to edit those mp4.part files myself. ...
5
votes
1answer
7k views

What is the recommended way of installing youtube-dl? [closed]

I installed youtube-dl from the 17.04 package repositories. It currently ships version 2017.03.10. However, youtube-dl is one of these packages that are updated very frequently (as of writing this ...
1
vote
2answers
920 views

How to bulk download videos and rename them simultaneously using youtube-dl?

I am using Ubuntu 16.04 LTS. I want to download some YouTube videos. I came to know about the command line tool youtube-dl from this question. As mentioned by Yasser, using the command, youtube-dl ...
1
vote
2answers
800 views

Can I download MULTIPLE youtube search results using youtube-dl?

I know how to download the result of one search query but is it possible to download results of more than 1 search queries at once? I was thinking pasting the urls separated by commas.
2
votes
1answer
2k views

ffmpeg: error while loading shared libraries: libass.so.5

I'm using youtube-dl, on Ubuntu 16.04 desktop, to fetch a video and it will fail after downloading the audio and video files, with the error message: ERROR: ffmpeg: error while loading shared ...
1
vote
0answers
77 views

Why youtube-dl stopped with an error? [duplicate]

I want to download a video from youtube, at first, I could download successfully some videos, but later, youtube-dl raises this exception... [youtube] OpQFFLBMEPI: Downloading webpage [youtube] ...
0
votes
1answer
118 views

erro I am getting pip youtube-dl

This is the error I am getting. What should I do? The directory '/home/wanderer/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the ...
1
vote
1answer
2k views

Getting error while using Youtube-dl

when I started downloading youtude-dl the following error is being displayed. What should I do? wanderer@wanderer-HP-Pavilion-15-Notebook-PC:~$ youtube-dl -f '(mp4) [height<480]' -- zfaISdylg7c [...
1
vote
0answers
503 views

downloading multiple files is faster than single file, why? (youtube-dl use case)

Apologies if this type of question is not allowed. Its very general and vague, and I am not expecting a "solution" from anyone, but just wondering what people smarter than me, particularly networking ...
1
vote
2answers
2k views

Using youtube-dl to download Deezer playlist?

Is it possible to download a Deezer.com playlist using youtube-dl? I tried inputting the Deezer playlist link and it only downloads 30 second samples of the songs. Any way to get the full songs?
3
votes
1answer
161 views

How to download Videos from a YouTube playlist from past hour?

I am trying to figure out a way to download YouTube videos from a playlist using youtube-dl that were uploaded in the past hour - is there a way to do that?