As of May 31, 2023, we have updated our Code of Conduct.

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
-2 votes
0 answers
32 views

YouTube is not working on ubuntu 20.04 in any browsers

I am using Ubuntu 20.04 YouTube is not working in any browsers I have tried some; FireFox, Chrome, Edge dev. In all the browsers issue is the same I shows connect to the internet while I am already ...
Madan Lal's user avatar
1 vote
1 answer
94 views

I have to update youtube-dl

I have open video downloader, which worked before. But now it doesn't. I tried to install pip by putting ensure pip in Python 3.11 but I don't know how to change the greater than signs. Or if you have ...
Raphael Rodgers's user avatar
1 vote
1 answer
131 views

Error when I want to install something via pip: "Therefore support for pip in cryptography is deprecated"

When I want to install youtube-dl python3 -m pip install --upgrade youtube-dl I get this error message: /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: ...
Maik Lowrey's user avatar
2 votes
2 answers
4k views

how do I fix youtube-dl: running it gives error message about incorrect syntax

I recently installed 22.04 completely from scratch. Just now I followed instructions to install youtube-dl, with wget (from github.com): sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/...
Akpglt's user avatar
  • 23
0 votes
1 answer
355 views

unable to download videos in ubuntu using youtube-dl

Whenever I try to download videos using the youtube-dl, I get an error: usr/bin/env: ‘python’: No such file or directory
Moses's user avatar
  • 101
0 votes
0 answers
333 views

How to download all videos of 1 account on Instagram

In the past I used to use youtube-dl to download all videos of an instagram channel but today I use that channel again and it doesn't work. youtube-dl -i -f mp4 -o %(uploader_id)s-%(id)s.mp4 -a 1.txt ...
Mr X's user avatar
  • 1
2 votes
2 answers
2k views

Youtube-dl / yt-dlp stuck on "Downloading webpage"

I have problems downloading any video using youtube-dl on Ubuntu 20.04. Whenever I try to download a video, the progress is stuck at Downloading webpage. Then I wait and nothing happens... youtube-dl -...
buddemat's user avatar
  • 308
0 votes
0 answers
417 views

When using youtub-dl, what is the best practice to skip the already downlaoded file of mp3, mp4, .. of playlist and channal?

Found this Downloading youtube playlist with youtube-dl, skipping existing files But it only cover mp3, also a bit new to Ubuntu/Linux, but able to follow. it seems that we need to save our files name ...
heitumo's user avatar
-1 votes
1 answer
2k views

How to specify the download location in youtube-dl

How do I specify the location in my filesystem where I want to download a YouTube video with youtube-dl? I tried using the -P option in youtube-dl, but it didn't work.
polandball lover's user avatar
-1 votes
1 answer
1k views

Get size of any download on youtube-dl?

I am running 22.04 LTS & would like to know how to get the size of any download on youtube-dl; How do I do that? I have tried GitHub issue Determining file size without downloading but on channels ...
TheRandomGuyNamedJoe12's user avatar
-1 votes
2 answers
67 views

Passing arguments between concatenated BASH CLI commands

youtube-dl -o "/home/smith/Original-Video.%(ext)s" https://whatever && ffmpeg -i /home/smith/Original-Video.YYY -filter:v fps=10 -b:v 368k -b:a 32k -c:a libopus -strict -2 /home/...
Mar Lam's user avatar
0 votes
1 answer
3k 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"
Zaeem Ali's user avatar
0 votes
1 answer
4k 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. ...
Abhishek Kamal's user avatar
0 votes
0 answers
203 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: ...
Abdullah AL Shohag's user avatar
1 vote
0 answers
2k 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'...
Paul A.'s user avatar
  • 2,073
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 ...
Tomptp's user avatar
  • 73
3 votes
2 answers
2k 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 ...
Paul's user avatar
  • 4,431
8 votes
3 answers
24k 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 ...
Allan's user avatar
  • 543
5 votes
2 answers
6k 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 ...
Stormlord's user avatar
  • 5,814
2 votes
1 answer
762 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 ...
Vin Raghav's user avatar
0 votes
1 answer
144 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....
MOHAMAD FAIRUN BIN RAMLY's user avatar
1 vote
0 answers
189 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 '%(...
himanshuxd's user avatar
0 votes
0 answers
78 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" ...
jacroe's user avatar
  • 68
0 votes
0 answers
974 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 ...
user1366177's user avatar
1 vote
1 answer
406 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... ...
user1366177's user avatar
0 votes
2 answers
206 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 ...
Pachuca's user avatar
  • 369
0 votes
1 answer
520 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 ...
Gansaikhan Shur's user avatar
1 vote
0 answers
662 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 (...
Anish's user avatar
  • 21
1 vote
3 answers
4k 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 ...
jim's user avatar
  • 121
1 vote
1 answer
2k 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 ...
pigeonburger's user avatar
-1 votes
2 answers
3k 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 ...
deWalker's user avatar
  • 371
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 ...
deWalker's user avatar
  • 371
0 votes
0 answers
757 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 ...
Rafi's user avatar
  • 13
1 vote
2 answers
2k 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: ...
Madeyra's user avatar
  • 279
1 vote
0 answers
373 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 ...
Dylan Coulbeck's user avatar
0 votes
1 answer
450 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 ...
Keshu Ahuja's user avatar
5 votes
1 answer
13k 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 ...
Richard Rublev's user avatar
4 votes
8 answers
9k 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 ...
Ibster's user avatar
  • 338
3 votes
1 answer
9k 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 ...
ssd's user avatar
  • 133
3 votes
0 answers
73 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&...
Ladmin's user avatar
  • 31
1 vote
1 answer
2k 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 ...
kamer_kane's user avatar
1 vote
1 answer
245 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
2k 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-...
Johnny5ive's user avatar
0 votes
1 answer
614 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: ...
fixit7's user avatar
  • 2,736
1 vote
1 answer
2k 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?
HappyFace's user avatar
  • 315
9 votes
8 answers
22k 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 ❯ ...
Geoff Langenderfer's user avatar
0 votes
2 answers
4k 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 ...
Shay Singh's user avatar
2 votes
1 answer
446 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 ...
BiosRootKit's user avatar
0 votes
1 answer
757 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 ...
TipVisor's user avatar
  • 103
10 votes
6 answers
25k 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 ...
Tonmoy Ahmed's user avatar

1
2 3 4 5