-
Notifications
You must be signed in to change notification settings - Fork 803
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YTDL-core downloads blank files, with no data #1303
Comments
The same thing happened to me today, from what i read in other recent issues it seems to be related to some changes made by Youtube, maybe made to stop this kind of libraries from working. hope it gets solved soon. |
Im not sure, did also notice other libraries were affect. I was able to restart my computer (mac) and it working normally now |
good to know that it works for you, i tried restarting mine(windows) and it still doesn't work. |
try out https://www.npmjs.com/package/youtube-dl-exec until a fix it pushed
Or see this #1299 |
I noticed the fix in yt-dlp from today: It is quite substantial, though. Needs porting. |
I tried using the link referenced, and copy-pasted the first code under the usage section
|
Not able to download a youtube video as it is showing that video file is not supported by the files |
just switch to https://www.npmjs.com/package/@distube/ytdl-core it should be a drop in replacement i.e SwapnilSoni1999/spotify-dl@a0605c8 |
Thanks @phyzical ffmpeg(fs.createReadStream('video.mp4')) |
Able to solve it on my own ffmpeg('video.mp4') |
@MalikElate Yup, I'm getting same thing |
Hey, I'm trying to use ytdl-core but its stopped working across several version. When I download a video I get a blank file that is zero bytes. I'm expecting that videos should download as normal.
I'm running the most basic download but it work work.
`const fs = require('fs');
const ytdl = require('ytdl-core');
ytdl('http://www.youtube.com/watch?v=aqz-KE-bpKQ')
.pipe(fs.createWriteStream('video.mp4'));`
Any help on this would be greatly appreciated
The text was updated successfully, but these errors were encountered: