Questions tagged [youtube-dl]

youtube-dl is a small command-line program to download videos from youtube.com and and about 150 other websites.

Filter by
Sorted by
Tagged with
0 votes
0 answers
120 views

Error downloading youtube-dlp: SSL handshake failed

After i upgraded to Ubuntu 22.04. i am receiving this error while downloading ClipGrab "Error downloading youtube-dlp: SSL handshake failed"
user avatar
0 votes
0 answers
184 views

yt-dlp Permission denied error

Because of slow speed on youtube-dl and after reading this discussion I am trying to use yt-dlp (current version : 2021.12.27). But when I run yt-dlp https://youtu.be/qIX1BhvUMJ0 I am getting error. ...
user avatar
0 votes
0 answers
97 views

Syntax Error on accessing JSON data in QML data from python youtube_dl

I have a simple youtube_dl function to access the youtube download links here, @QtCore.Slot(str, result=str) def getDownloadLinks(self, url): try: with youtube_dl.YoutubeDL({}) as ydl: ...
user avatar
1 vote
0 answers
807 views

What is the youtube-dl best format?

I'm downloading a video with youtube-dl and trying to get the best possible sound quality. Youtube-dl has an option --audio-quality best that is supposed to achieve that. As I would expect, that doesn'...
user avatar
  • 1,849
7 votes
1 answer
1k views

After installing youtube-dl on Ubuntu 21.10 with the instructions on github many applications, including default text editor, broke

A new user here, running ubuntu on version 21.10 impish. I was installing youtube-dl with the instructions on the github page (https://github.com/ytdl-org/youtube-dl#installation): $ sudo curl -L ...
user avatar
  • 73
3 votes
2 answers
562 views

youtube-dl appears dead - what can I use to download videos?

Judging by the huge number of unresolved issues plus zero activity or communication from the project maintainers, the youtube-dl project appears to be dead and many of the project's contributors have ...
user avatar
  • 4,279
5 votes
3 answers
4k views

No longer able to download YouTube using youtube-dl. How do I fix this problem?

When I run youtube-dl, I get the message below (it's very long). What is the problem and how do I fix this? It tells me to update youtube-dl but I am running it in terminal using the youtube-dl ...
user avatar
  • 463
5 votes
2 answers
5k views

About youtube-dl and yt-dlp

It seems that youtube-dl is dead in the water since June 6, 2021 and it has reached a point where it cannot handle YouTube's downloading speed throttling at all. Does anyone know what has happened or ...
user avatar
  • 5,494
2 votes
1 answer
297 views

How do I get rid of youtube-dl?

It looks like youtube-dl is permanently stuck on my system. Months back I installed it (I don't know how). But now I'm desperately trying to uninstall it. All the uninstall commands say that it's not ...
user avatar
0 votes
1 answer
87 views

cannot remove youtube-dl

I was trying to uninstall youtube-dl, but I got stuck. I'm using sudo apt-get remove youtube-dl but it still present in my distro and can run. This I get from terminal youtube-dl/hirsute,hirsute 2021....
user avatar
1 vote
0 answers
92 views

How do I add playlist index to an already downloaded youtube playlist done without the indexes originally?

I used to download youtube playlists using youtube-dl with the command youtube-dl -f bestvideo[height<=?720]+bestaudio[ext=m4a]/bestvideo[height<=?720]+bestaudio/best[height<=?720] -o '%(...
user avatar
0 votes
0 answers
41 views

Can you include logic in youtube-dl's --output parameter?

For youtube-dl, I have a script that has an --output value that looks like: "%(uploader)s/%(playlist_title)s/%(upload_date)s - %(title)s/%(upload_date)s - %(title)s [%(id)s].%(ext)s" ...
user avatar
  • 68
0 votes
0 answers
684 views

Youtube-dl download speed

My script backs up certain video channels. Mostly the download speed is fine... but sometimes a video gets downloaded very slowly... and I have the option of either waiting for many hours until the ...
user avatar
1 vote
1 answer
135 views

youtube-dl Downloading channel page #number => how to skip old pages?

I live off grid, no internet access. Once in a while I go to the library and run my scripts, which backs up video channels (youtube, bitchute, rumble, ...) I lose a lot of time with large channels... ...
user avatar
0 votes
2 answers
113 views

Ubuntu 20.04 ClipGrab hangs when loading information about the video

I'm having issues with ClipGrab getting stuck on "Please wait while ClipGrab is loading information about the video ..." every time I try to download a video. I installed clipgrab from ...
user avatar
  • 361
0 votes
1 answer
204 views

youtube-dl is not downloading with specified format?

So I'm trying to execute the following command. It downloads fine but although I specify bestaudio and --audio-format wav it does not download audio. And I cannot seem to be able to open the output ...
user avatar
1 vote
0 answers
512 views

Youtube-dl facebook video asks login details in remote server?

I was working on a project which uses youtube-dl, when I was working on the project from my local machine it worked fine without any problems but when I tried to run the same project in a remote VM (...
user avatar
  • 21
1 vote
3 answers
3k views

Problem with youtube-dl Ubuntu 20.04

Suddenly I seem to be having problems downloading videos from youtube using youtube-dl. I am running ubuntu 20.04.2 I did seem to upgrade youtube-dl using this suggestion: pip3 install --upgrade ...
user avatar
  • 121
0 votes
1 answer
1k views

How to search for an exact phrase with ytsearch in youtube-dl

A few search results for this similar question came up, but they were either unanswered, or deleted and wouldn't even show up on Internet Archive, so I hope someone here can help! Sometimes when you ...
user avatar
-1 votes
2 answers
2k views

Instructions for installing `youtube-dl` from source code - Ubuntu 20.04

I have recently had some issues installing youtube-dl on Ubuntu 20.04. THIS IS NOT THE SAME QUESTION. Those issues have been resolved, but I am not: a Python user comfortable with snap yet And it ...
user avatar
  • 361
5 votes
2 answers
2k views

What is the true install procedure for youtube-dl in 20.04?

I am having no luck getting youtube-dl installed on my 20.04 system. Here's what I have tried: sudo apt-get install youtube-dl RESULT: The command executes OK, but when I try to download anything I ...
user avatar
  • 361
0 votes
0 answers
554 views

Youtube-dl isn't ignoring unavailable videos

I tried to download a full playlist with youtube-dl but after downloading 31 videos it stopped. I tried -i but it won't ignore or skip. I tried: youtube-dl -f 136+251 -i "Playlist_Link" I ...
user avatar
  • 3
1 vote
2 answers
1k views

Cant use the updated youtube-dl

I have the following youtube-dl version youtube-dl --version 2020.03.24 I would like to update it with the following command pip3 install --upgrade youtube-dl Requirement already up-to-date: ...
user avatar
  • 269
1 vote
0 answers
274 views

Struggling to run youtube-dl via crontab

I have done a lot of trial and error with a ton of google searching, even tried adding the absolutle path value and doing this as root, I want to download a youtube playlist. It works stand alone as a ...
user avatar
0 votes
1 answer
375 views

youtube-dl code returning 0 after running code

I've been having this problem where whenever I run this block of code: import os import youtube_dl songid = os.system(f'youtube-dl "ytsearch:hi there" --get-id') print(songid) It returns ...
user avatar
5 votes
1 answer
12k views

Why does youtube-dl sometimes fail with "ERROR: No video formats found"?

Youtube-dl sometimes works, sometimes doesn't work: youtube-dl https://www.youtube.com/watch?v=62uM1trEf6M [youtube] 62uM1trEf6M: Downloading webpage ERROR: No video formats found; please report this ...
user avatar
4 votes
6 answers
7k views

How To Install Youtube-DL Graphical User Interface On Ubuntu 20.04?

I Did The Following Commands : sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install youtube-dlg Result : Reading package lists... Done Building dependency tree ...
user avatar
2 votes
1 answer
8k views

Why does "youtube-dl" keep downloading high quality videos though I tell it not to do so?

I use the following line, indicating strictly to download the best video format with height less than or equal to 720p (using bestvideo[height<=720,ext=mp4] option), but it still downloads video ...
user avatar
  • 123
3 votes
0 answers
57 views

Youtube-dl Error

I've been using ubuntu for a while. I reset my windows laptop and reinstalled youtube-dl. Everytime I try and use it, it comes up with the message "Error: Youtube said: This video is unavailable&...
user avatar
  • 31
1 vote
1 answer
1k views

How to set environment variable for the updated youtube-dl installed from pip3?

I referred to an answer here to install youtube-dl using pip. Although youtube-dl was installed by default in my Ubuntu 20.04, by apt, but it was outdated and showing errors. Besides, I used pip3 to ...
user avatar
1 vote
1 answer
197 views

Upload year in youtube-dl output template

This is my current output template: -o "A:/YouTube/%(uploader)s/%(upload_date)s/%(title)s-%(id)s.%(ext)s" But instead of %(upload_date)s which is formatted as YYYYMMDD I want the folder to ...
user avatar
0 votes
1 answer
1k views

Python’: No such file or directory

Youtube-dl is months out of date in the repos so I installed it using this method (though I changed the location to usr/bin/youtube-dl as that's what which youtube-dl showed) but then I get $ youtube-...
user avatar
0 votes
1 answer
536 views

Can not update youtube-dl [duplicate]

Trying to download an audio from youtube. youtube-dl --extract-audio --audio-format mp3 https://www.youtube.com/watch?v=ILSr9BbhoJQ [youtube] ILSr9BbhoJQ: Downloading webpage [youtube] ILSr9BbhoJQ: ...
user avatar
  • 2,306
1 vote
1 answer
1k views

youtube-dl: Select the best format but exclude DASH [duplicate]

DASH formats are not supported by external downloaders like aria2, so I like to avoid them. Merging two formats is ok (so I don't want -f best). What should I use for -f?
user avatar
  • 265
8 votes
8 answers
18k 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 ❯ ...
user avatar
0 votes
2 answers
3k 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 ...
user avatar
2 votes
1 answer
389 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 ...
user avatar
0 votes
1 answer
696 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 ...
user avatar
  • 103
10 votes
6 answers
23k 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 ...
user avatar
1 vote
1 answer
104 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-...
user avatar
1 vote
2 answers
3k 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 ...
user avatar
0 votes
1 answer
923 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 ...
user avatar
1 vote
2 answers
6k 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 ...
user avatar
  • 421
1 vote
1 answer
618 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?
user avatar
4 votes
1 answer
3k 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?
user avatar
26 votes
1 answer
49k 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 ...
user avatar
  • 4,025
1 vote
1 answer
599 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 ...
user avatar
  • 113
0 votes
0 answers
1k 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....
user avatar
  • 101
3 votes
1 answer
2k 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 ...
user avatar
  • 131
0 votes
2 answers
912 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....
user avatar
  • 1

1
2 3 4 5