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
0
votes
1answer
333 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 ...
0
votes
0answers
20 views

Youtube-dl and OMXWrapper

I'm using Youtube-dl and OMXPlayer to play livestreams from YouTube. The idea is that the video loops all the time. Meaning that if the livestream is over, that I want to play the YouTube video (of ...
0
votes
0answers
92 views

youtube-dl command line help

ok I want to use youtube-dl to download a video in 1080p mp4 with audio. This video is uploaded in various 360,720,1080 and 2160 with various codec options. The commandline code I am using, works most ...
0
votes
0answers
34 views

How to download an Multiple playlist at once then convert to MP3 track from a YouTube video

I would also like to learn how to extract the video's soundtracks multiple playlist at once as MP3 files-also using only the terminal. Answers briefly explaining how to use youtube-dl or other similar ...
0
votes
1answer
347 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 ...
-1
votes
2answers
1k 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 ...
5
votes
2answers
1k 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 ...
0
votes
0answers
302 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 ...
1
vote
2answers
483 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: ...
1
vote
0answers
127 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 ...
0
votes
0answers
42 views

youtube-dl discard low resolution videos

So I am running youtube-dl on ubuntu 18.04. I am trying to download some videos from youtube using youtube-dl, I have a list of links, but I want my script to be able to discard the ones which have a ...
0
votes
0answers
96 views

Gydl app : problem when downloading videos

When i try to download a video through the Gydl application the following message appears to me : The download has been unsuccessful. Make sure the URL you've entered is valid. I tried to download a ...
0
votes
0answers
60 views

How can I download a youtube livestream video

How can I download a youtube livestream video. 10 minutes of it for example? In the terminal I have tried: youtube-dl --hls-use-mpegts https://www.youtube.com/watch?v=5_XSYlAfJZM It kinda works, but ...
0
votes
1answer
273 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 ...
4
votes
1answer
7k 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 ...
0
votes
0answers
115 views

turn youtube-dl source code to a command-line on ubuntu 20.04

lately youtube-dl program had some issues embedding thumbnails, a guy on GitHub committed a patch that solved the issue, but the problem is that the team behind youtube-dl didn't merge the patch yet ...
4
votes
6answers
5k 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 ...
2
votes
1answer
4k 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 ...
3
votes
0answers
48 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&...
1
vote
1answer
779 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 ...
1
vote
1answer
130 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 ...
0
votes
1answer
549 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-...
0
votes
1answer
422 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: ...
0
votes
0answers
248 views

How to download videos from a playlist located on a user site in youtube-dl?

Please help me solve this problem. Prerequisites: The institution requires that students can download educational videos. I need to implement loading a user playlist that contains links to videos ...
1
vote
1answer
548 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?
0
votes
0answers
57 views

Error when using youtube-dl to downloading videos from a YouTube channel output: /usr/bin/env: ‘python’: No such file or directory [duplicate]

I am trying to download all videos from a YouTube channel to then convert the videos to a WAV file Entering the following command: ~$ youtube-dl https://www.youtube.com/channel/UCa1Cl-...
6
votes
7answers
10k 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
2answers
779 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
30 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/[...
2
votes
1answer
223 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
563 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 ...
6
votes
4answers
16k 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
66 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
2k 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
1answer
727 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
3k 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
452 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
2k 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?
26
votes
1answer
45k 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
463 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
33 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
900 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
1k 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
2answers
570 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
92 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
1k 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
18 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
5k 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
2answers
1k 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 ...
1
vote
1answer
6k 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
2 3 4 5