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

Filter playlist videos based on date they were added

I have been going through YoutubeDL's readme, it's pretty detailed, but I could find a way to filter videos of a playlist based date they were added to the playlist. I am looking for something very similar to dateafter but for the date added, not…
Aniruddh
  • 7,648
  • 1
  • 26
  • 43
0
votes
1 answer

How can I deal with this Error: not found: YoutubeDL?

I wanted to run this project https://github.com/mayeaux/generate-subtitles , but when i do npm start i get this :throw getNotFoundError(cmd) ^ Error: not found: YoutubeDL at getNotFoundError…
0
votes
0 answers

Unable to to update yt-dlp using pip command

I am unable to update yt-dlp on MacOS Ventura 13.2.1 - hopefully someone can help me. My details are: [debug] Command-line config: ['-v'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp…
Klitiko
  • 1
  • 1
0
votes
1 answer

Discord FFMPEG audio wont play from yt-dlp

My question is this: Why isn't my bot playing audio? I want the bot to join, play audio from queue, then disconnect without downloading an mp3 file. I tried using youtube-dl, but I switched to the yt-dlp library after getting errors I couldn't…
0
votes
1 answer

get upload date of all chanel videos with yt_dlp

it's posible to extract upload date in a json for all videos of a chanel? i want a json but that the json had the upload date of all videos here is my code. import json import yt_dlp as youtube_dl options = {'ignoreerrors': True,'quiet':…
0
votes
0 answers

yt-dlp: ffmpeg working for some videos, but not for the others

I started using yt-dlp a few days ago, so I'm new to the whole thing. I needed to download some videos from youtube, but have them split into chapters. The command: yt-dlp --split-chapters URL seems to be doing the right thing. However, running…
Mikki99
  • 33
  • 4
0
votes
0 answers

How to concatenate yt-dlp output of "--get-id" and "--get-title" flags on the same line

I am new to using yt-dlp and would like to have as a response to the command "yt-dlp --get-id --get-title , both the output result of "--get-id", concatenated with the output result of "--get-title" on the same line. When I run the…
0
votes
1 answer

bash: ERROR: batch file could not be read

Inside C:\cygwin64\home\Administrator I have 3 files script.sh links_da_scaricare.txt cookies.txt To download from dplay I use successfully if I use this command, videos are downloaded yt-dlp --referer "https:www.discoveryplus.com/" --add-header…
user3520363
  • 360
  • 1
  • 15
0
votes
0 answers

ffmpeg doesn't see yt_dlp stream

I making discord bot and i am trying to move from youtube_dl to yt_dlp to get +18 videos from youtube, I am getting error Output file #0 does not contain any stream. self.YTDL_OPTIONS = {'format': 'bestaudio', 'nonplaylist': 'True',…
matiz22
  • 1
  • 1
0
votes
1 answer

Getting Youtube Audio Stream with yt_dlp, NOT using pafy

I have made a GUI youtube audio player. It uses pafy, a library that gets the stream-urls of a given youtube url. This is wonderful, but pafy has 2 problems; one is that it, since at least half a year, has an error because it tries to get the…
0
votes
0 answers

How to download password protected video from dailymotion

I have the password to access the video on dailymotion but I cannot download it using yt-dlp. I get the error ERROR: [dailymotion] x7yqr1a: This user does not have access to the video. A password must be provided. but I am already providing the…
Wagmi
  • 21
  • 3
0
votes
0 answers

Guaranteed merged output format?

I have to rewrite my desired output format, or decide to remux, or find some way to change what I'm doing all the time when I use yt-dlp (or ffmpeg for that matter). I'll often get errors that seem to be due to the desired video format being…
Wolfpack'08
  • 3,982
  • 11
  • 46
  • 78
0
votes
1 answer

Problem triggering nested dependencies in Azure Function

I have a problem using the videohash package for python when deployed to Azure function. My deployed azure function does not seem to be able to use a nested dependency properly. Specifically, I am trying to use the package “videohash” and the…
0
votes
0 answers

Fully scraping m3u8 with ffmpeg without recoding

There is a manifest living on the server (index.m3u8) containing data about child manifests (for different video qualities) which in turn contain segment names. Is it possible to provide to ffmpeg (or any other tool) url of index.m3u8, to get all…
gsemyong
  • 1
  • 1
0
votes
1 answer

YT-DLP How do I extract the audio file? (Python, Discord.py)

I am making a Discord music bot with Python, discord.py and yt-dl. Currently I am trying to switch from yt-dl to yt-dlp because of downloading and age restriction issues. With yt-dl, I used to extract an audio files from the playlist this way: with…