Questions tagged [youtube-dl]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
61 views

youtube-dl /usr/bin/env: ‘python’: No such file or directory

In Ubuntu 20.04, we get the following error: ❯ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal ❯ ...
0
votes
1answer
22 views

Youtube-dl Question: How can I batch download files (while assigning different titles to output files)?

I have a .txt file with a list of .m3u8 links. I want to batch download all these links (videos) without having to manually enter them one by one. The problem I'm having is this: youtube-dl is ...
0
votes
0answers
19 views

Creating a script that encodes an audio file and JPG together in an MKV in each subdirectory

I am working on a youtube-dl script that downloads the audio files and thumbnails of a batch list and places it in directory like this: downloads/[channel_name]/[video_id]/.audiofile downloads/[...
1
vote
0answers
25 views

how dump all the “TEMPLATE PARAMETERS” in a video stream with youtube-dl

I see that with youtube-dl I can build an output file name using a variable in the name of the file, as indicated in its man page. But in my case many variables are not available. How can I dump ...
0
votes
1answer
121 views

Download youtube playlist from youtube-dl. but no sounds [closed]

i am downloaused from youtube playlist used from youtube-dl. no sounds in that mp4 files. youtube-dl -f 136 --write-auto-sub --convert-subs srt https://www.youtube.com/playlist?list=PLgyc**** i am ...
2
votes
3answers
2k views

youtube-dl do not working.HTTP error 429: too many requests How can i solve this problem? youtube-dl is up-to date

[youtube] lMttqRuFmL8: Downloading webpage ERROR: Unable to download webpage: HTTP Error 429: Too Many Requests (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure ...
1
vote
1answer
35 views

youtube-dl output to multiple paths

I have the following bash script to download youtube videos as an mp3 file using youtube-dl: #!/bin/bash read -p 'URL: ' url youtube-dl -f 'bestaudio' --extract-audio --audio-format mp3 --audio-...
1
vote
2answers
238 views

Running a command in terminal after youtube-dl has finished

As written in the title, I would like to run a command ONLY after the previous command 'youtube-dl' has finished and closes. I am not running this command on bash just on the ubuntu terminal. I ...
0
votes
0answers
46 views

I always have troubles using youtube-dl: it never works

It used to give me a lot of some random text but now that I reinstalled it, it doesn't tell me anything at all and still does not work, no matter what distro I use (I used manjaro, ubuntu, now ubuntu ...
0
votes
0answers
259 views

python3.8 youtube-dl

I installed python3.8 in ubuntu 18.04 by compiling. if I run youtube-dl it says cannot find python. if I cat youtube-dl the shebang line is #!/usr/bin/python3 at terminal prompt python3 does get ...
1
vote
2answers
510 views

youtube-dl won't download mp3

youtube-dl downloads neither videos nor mp3. This is the command I use: youtube-dl --extract-audio --audio-format mp3 <Youtube URL> The output: m62iekbg9eo: "token" parameter not in video ...
1
vote
1answer
164 views

How can I edit mpsyt config file?

I tried adjusting the settings in .config/mps-youtube/config, but the config file looks like this: Do I need a special programm to edit this file?
4
votes
1answer
564 views

How can I remove youtube-dl (NOT installed via snap or apt)?

I installed youtube-dl from https://yt-dl.org Since this is not installed from snap or apt-get, how do I get this removed?
21
votes
1answer
27k views

youtube-dl Troubleshooting: ERROR: This video is unavailable [duplicate]

Ubuntu 16.04: Verify latest youtube-dl version: $ sudo apt-get install youtube-dl youtube-dl is already the newest version (2016.02.22-1). 0 upgraded, 0 newly installed, 0 to remove and 137 not ...
1
vote
1answer
235 views

Youtube-DL: Is there an output wildcard for which site the video is being downloaded from?

Youtube-dl supports several sites; in my case I'm using youtube & vimeo. I want to have my '-o' string differentiate between the two when setting an output directory, so that matching users don't ...
0
votes
0answers
32 views

can't find snap apps from terminal [duplicate]

Can't access the snap apps from terminal using Ubuntu 19.10 $ vlc Command 'vlc' is available in '/snap/bin/vlc' The command could not be located because '/snap/bin' is not included in the ...
0
votes
0answers
350 views

How to setup the terminal proxy for ubuntu terminal via v2ray

I have already set up the proxy for Chrome via v2ray and it is working fine. But I have failed to set up it for terminal for my Ubuntu 18.04. I tried something like: export http_proxy="socks5://127....
2
votes
1answer
376 views

Requested formats are incompatible for merge and will be merged into mkv

I was trying to download from the YouTube youtube-dl -F 249 "https://www.youtube.com/watch?v=yXT1ElMEkW8" My version youtube-dl --version is 2019.11.28 I went through the link Requested formats are ...
0
votes
1answer
136 views

How to adjust spacing and number formatting in a youtube-dl output template?

I am using youtube-dl. The command that I use is: youtube-dl LinkOfVideo -o S0%(season_number)s-0%(episode_number)s-%(episode)s.%(ext)s The output filename of the above command is: S01-02-Title-ID....
0
votes
1answer
77 views

youtube-dl all the vides under a specified playlist

I am learning SICP following MIT 6.001, A single course could be downloaded handdily with youtube-dl https://www.youtube.com/watch?v=V_7mmwpgJHU&list=PLE18841CABEA24090&index=2 How could ...
3
votes
0answers
673 views

Using youtube-dl with cookies.txt file errors

I'm trying to download one particular episode. I've logged in to foodnetwork, saved my cookies.txt file, but get these errors when I run youtube-dl "https://watch.foodnetwork.com/tv-shows/chopped/full-...
1
vote
0answers
17 views

youtube-dl - Where does one locate user-created functions ( )? [duplicate]

I'm looking for clarification about an aspect of this question: Downloading videos to an external drive with youtube-dl DannyRe's answer is great except that I may not be the only one wondering ...
2
votes
1answer
3k views

HTTP Error 429: Too Many Requests - youtube-dl stopped working

tldr: up-to-date youtube-dl behaves oddly on 1 out of 4 devices, ignoring timeout between requests I've been using youtube-dl to download videos for a while now. From time to time when something is ...
2
votes
1answer
318 views

Scrape/extract Youtube video information using youtube-dl

I want to scrape information from a YouTube playlist/channel (including Upload Date, Title, URL, Duration, View Count) using youtube-dl without downloading the videos. There's a very useful example ...
0
votes
1answer
2k views

Certificate problems

Many shell applications are throwing SSL certificate errors. I'm not aware of anything that could have caused this. apt, Google Chrome, Discord all work fine. Already tried: Problem with certificates ...
-1
votes
1answer
96 views

Using “” in shellscript

i need to use a ffmpeg command in a shellscript The command is the next one (ffmpeg -hide_banner -hwaccel cuvid -c:v h264_cuvid -f hls -i $(youtube-dl -f 95 -g $ylink) -c:v h264_nvenc -r 50 -c:a ...
3
votes
1answer
1k views

Use youtube-dl to download all the playlists of a channel

I want to download all the playlists of a youtube channel using youtube-dl. The following command downloads all the videos even with --yes-playlist option: youtube-dl --yes-playlist -f best -ciw -o "$...
0
votes
0answers
87 views

Download playlist using youtube-dl using the Video title as a filemane [duplicate]

When I download a playlist using youtube-dl -cit --extract-audio --audio-format mp3 -a Documents/youtubeplaylist.txt the file names look like this: 82czeZCzGQM.mp3 How can I have the file name the ...
2
votes
1answer
7k views

youtube-dl: ERROR: This video is not available… Which video?

When using youtube-dl version 2019.07.16, if I run the following command: $ youtube-dl --get-id https://youtube.com/user/youtube_channel I will sometimes get an output like this example: dIJxA-...
3
votes
0answers
31 views

What's the command to monitor live streaming youtube page from youtube-dl?

Okay so there is this youtube channel that was about live stream a religious lecture that I wanted to watch but I couldn't because I was out. I want to know if there is any youtube-dl command that ...
1
vote
1answer
343 views

select certain videos for youtube-dl using format codes

So I have youtube-dl setup and am trying to "automate" a way that I download videos. I have got it mostly setup however I need a way to be able to only select videos that have a format code starting ...
1
vote
1answer
730 views

Problem with mp3 tags using youtube-dl and id3v2

In short: I ran: sudo apt install youtube-dl ffmpeg id3v2 -y echo "youtube-dl version:" youtube-dl --version echo "id3v2 version:" id3v2 --version youtube-dl --extract-audio --audio-format mp3 "https:...
3
votes
1answer
1k views

Is it possible to only download a single frame from a youtube video?

Let me explain what I had set up. I've been using pytube (Python module) to download videos from YouTube. I would then extract a few random frames from the video and save them as jpegs. I don't need ...
1
vote
1answer
501 views

youtube-dl: Use different output format if downloading a playlist

I am using youtube-dl to mostly download channels or playlists. However, if it is a playlist I do not want to use the same output template as if it were a channel. Is there a way to achieve this? # ...
1
vote
1answer
536 views

youtube-dl in a crontab displays “[Errno 13] Permission denied”

I am on Debian. I try to make a cron job for youtube-dl. It consists of a daily script, starting at midnight. When I execute the script manually, everything is working perfectly. However, when I use ...
1
vote
0answers
663 views

Unable to re-download a video with youtube-dl

I have used this utility many times with great success. Unfortunately I incorrectly deleted a video that I had downloaded and youtube-dl won't let me do it again. I've tried removing youtube-dl and ...
1
vote
1answer
1k views

Automate youtube-dl

I'm not completely unfamiliar with the command line but this task is above my understanding. My goal is to be able to add YouTube vids to a single playlist and have my living room pc download the ...
4
votes
2answers
2k views

Problem in downloading videos using youtube-dl from unsupported sites [closed]

How can I download videos from "https://unacademy.com/" using youtube-dl? I had tried, but not succeed and searched, but I did not find a solution. In the Android app for this academy, videos are ...
1
vote
1answer
827 views

How can I use youtube-dl using tor browser settings in terminal

How can I use youtube-dl using tor browser settings in terminal.Can I use terminal to use tor settings.
2
votes
2answers
2k views

Youtube-dl: How to download video with no audio? [duplicate]

How can I download a video without it's audio track, ideally with the ability to choose what level of quality the video will be downloaded in. Edit: I realize that selecting the quality may be the ...
0
votes
0answers
597 views

Youtube-dl stopped working- erorr signature extraction failed and no write persmission [duplicate]

I have Mint version on my computer and usually my friend would fix this but he decided to just "dump me" and not talk to me at all for weeks now. Anyways. This is what terminal says: ERROR: Signature ...
1
vote
2answers
405 views

Youtube dl how to download all playlist devided into different foledrs?

In Youtube-dl, i need path for download one playlist with one folder for one different video! and every video need to start name with his number (1 for first and his name; 8 for eighth and his name... ...
0
votes
0answers
291 views

Redirecting input from a file with youtube-dl

I am trying to redirect input from a file in which some youtube links are stored, I am using given below command to download those videos.. youtube-dl < link_file.txt but above command gives an ...
1
vote
1answer
2k 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
864 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
220 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 ...
7
votes
1answer
7k 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 ...
2
votes
1answer
4k 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/...
3
votes
1answer
1k 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
532 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 ...