fent / node-ytdl-core

YouTube video downloader in javascript.
MIT License
4.51k stars 798 forks source link

MinigetError: Status code: 410 at ClientRequest. #1130

Open AbubakarZorrain opened 2 years ago

AbubakarZorrain commented 2 years ago

Before creating an issue, please try the following

Otherwise, feel free to open an issue

Include the following if your issue is a bug

AbubakarZorrain commented 2 years ago

Guys I am getting this error, whichone operation I start from this module. Info-get, download, trim etc....

AbubakarZorrain commented 2 years ago

@maxogden @edef1c @R4wizard @sesam

AbubakarZorrain commented 2 years ago

@TimeForANinja Is there any solution for this issue? Please recommend.

cutdown commented 2 years ago

Please anyone slove the issue

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gohellp commented 1 year ago

This issue was not sloved. I getti' same error. I think it has something to do with the video data. If someone gettin' a similar error, I suggest DM me or send it here (if this is allowed here at all) so that I can study the video and identify a pattern

jinpeng0102 commented 1 year ago

I am getting the same errors in these videos: Not existing video: https://www.youtube.com/watch?v=FmqZpNj3n_U Existing video: https://www.youtube.com/watch?v=nlbmkjdaz_c

AaronMeyers commented 1 year ago

yea i'm running into it too... https://www.youtube.com/watch?v=LqB9olSAu90

"video unavailable"... it's in a playlist of mine and the youtube api still returns it with the playlist even though its no longer available...

i just wish there was a way to catch the error... instead it crashes the node server...

kiri836 commented 1 year ago

I don't understand how this issue is still not resolved. I guess its quite difficult to fix. I have gone through most of the closed issues with this status code and none of the solutions have worked. I'll mention all the ones I have gone through, some people on there mentioned that it worked for them so try all these. If it doesn't work then you are probably going to have to find your own solution. #1009, #1080, #1090. Also TimeForANinja mentioned that its a problem without a real fix: https://github.com/fent/node-ytdl-core/issues/1067#issuecomment-1059602473

Edit: The reason why you are getting the error in the first place is because of restricted videos or non existent videos. Examples: https://www.youtube.com/watch?v=W3GrSMYbkBE , https://www.youtube.com/watch?v=FmqZpNj3n_U .

pixelblob commented 1 year ago

Both using cookies and using https://github.com/fent/node-ytdl-core/pull/1080 made a video with a suicide topic warning work for me.

kiri836 commented 1 year ago

Both using cookies and using #1080 made a video with a suicide topic warning work for me.

At the time that I wrote the comment, #1080 wouldn't even work when tried in the browser. I tested it a few minutes ago in the browser and it seemed to work, so I assume some change occurred on YouTube's that allowed this to work again. This really is just a temporary solution until it breaks again; a real solution needs to be found.

I doubt having the cookies actually does anything, I messed around with cookies quite a bit when I was still trying to solve the issue and they did absolutely nothing. You should try using #1080 without the cookies, and also try doing cookies only. I am assuming only the former variation will work.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mehdi-es-shahkar commented 4 days ago

same error.