Questions tagged [yt-dlp]

yt-dlp is a command-line program, written in Python, that lets you easily download videos and audio from more than a thousand websites. It is a youtube-dl fork based on the now inactive youtube-dlc.

100 questions
0
votes
0 answers

Making a pdf out of timestamps as heading and transcript as content

Ok so I have recently started liking long form content on YouTube and would like to achieve the following: Use timestamp titles as chapter titles Use transcript content as chapter content Restrict transcript content within a chapter to the…
0
votes
0 answers

Searching for Youtube videos with specific quality using yt-dlp in python

Following this question, I try to use yt-dlp to search Youtube videos specifically in 720p or 1080p (preferably 1080p). The ytsearchX URL seems rather undocumented. I would like to know if it is possible to filter out poor quality videos.
Augier
  • 352
  • 4
  • 14
0
votes
1 answer

Can't use --noconsole of Pyinstaller without crash

I have a little problem. When I run my python code, everything works, and with pyinstaller when I compile it with the console. But when I compile it without console with pyinstaller, it crashes. Do you have an idea ? My program uses the yt_dlp and…
0
votes
1 answer

yt_dlp · Adding video publishing date to filename after download?

I have a question about specific programming problem (for a shell script), a software algorithm (yt-dlp syntax): Is there any way to add the publishing date of the video at the beginning of the filename? For channel downloads that would enable me to…
Gary Czychi
  • 204
  • 1
  • 3
  • 10
0
votes
0 answers

How to change the title of audio before downloading in yt-dlp

Metadata of any song which has '|' in title is not being extracted so i want to change '|' to '-'and then download but it doesn't change. When i run this code it does download audio but doesn't change | to -. import yt_dlp from mutagen.easyid3…
0
votes
0 answers

how to use yt-dlp in android native app - how to add aarch64 excutable file and excute it in android studio native app

I'm trying to use https://github.com/yt-dlp/yt-dlp library and add it to the android studio, but I can't get it to work What I understood from the research I did was that I would use java ProcessBuilder and give it the path of the file Before that,…
0
votes
0 answers

How to store yt-dlp mp3 inside a memory object python

import yt_dlp import io def download(url): with yt_dlp.YoutubeDL() as ydl: info = ydl.extract_info(url, download=False) title = info["title"] ydl_opts = { 'extract-audio': True, 'format': "bestaudio/best", …
Moosa
  • 31
  • 3
0
votes
1 answer

How to download the second (or third) video using ytsearch on yt-dlp / youtube-dl

If I do $ yt-dlp ytsearch:"some query" yt-dlp downloads the first result of "some query" and everything is fine. What if I want to download the second result, how can I achieve that? If it is not possible just using shell, how can I do it with…
berinaniesh
  • 198
  • 13
0
votes
0 answers

youtube-dl : backup channel as all videos + playlist for players

I wonder if there is an option(s) of using youtube-dl or yt-dlp for backing up educational channels from youtube, in a way that will do the following (as a PS or cmd script): create folder "videos" in the same folder as script is located download…
Araneus0390
  • 556
  • 1
  • 5
  • 18
0
votes
0 answers

How can I install [latest version] of youtube-dl or yt-dlp on Centos 7 ? I have been trying for the past 2 days withous success :\

I keep getting this id error both on youtube-dl and yt-dlp ROR: [youtube] _8zoICtzoDs: Unable to extract uploader id; I guess youtube changed format recently (video id) and I would like to install the adapted version of the software. Thank you very…
pibolito
  • 11
  • 1
  • 2
0
votes
0 answers

yt-dlp prompt user for custom video quality

How can I create a python script that prompts the user for a video URL, asks the user to choose a specific video quality, and then download it to a (preferably) custom video file? Digging through their documentation has been unfruitful, and code…
py660
  • 138
  • 11
0
votes
0 answers

FFmpegPCMAudio not playing in discord no error

Okey, it might be something obvious that ive missed but i really can't find the issue. I am currently making a discord-music-bot which has worked fine before. However as soon as i moved over to yt-dlp from youtube-dl (due to an error with…
0
votes
1 answer

Using yt_dlp in discord.py to play a song

Youtube-dl suddenly stopped working and was giving me uploader id errors so after reading a few articles I decided to use yt-dlp as an alternative but as I try to run the command below it just gives me an "Output file #0 does not contain any stream"…
NEEEx
  • 11
  • 3
0
votes
0 answers

How to make a status be shown only once, before downloading video using yt-dlp, and constantly undating the status above?

I want to create a script which will download videos using yt-dlp, and show it beatifully in console. c = Console() with c.status("[bold blue]Downloading video...", spinner='bounce') as status: with yt_dlp.YoutubeDL(ydl_opts) as ydl: …
0
votes
0 answers

how to estimate how much until the download will be finished and then show it on the site as a progression bar+ timer

``pretty much i know that i have to do it in java but i really don t know anything about java, only thing i knew how to do is how to make the page not freeze up during changes of the page, through AJAX pretty much i wanted to challenge myself by…