Skip to content
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

Error Code 410 #1003

Closed
basil-uk opened this issue Sep 11, 2021 · 19 comments
Closed

Error Code 410 #1003

basil-uk opened this issue Sep 11, 2021 · 19 comments

Comments

@basil-uk
Copy link

(node:2196) UnhandledPromiseRejectionWarning: Error: Status code: 410
at ClientRequest. (C:\Users\quant\Desktop\e\node_modules\miniget\dist\index.js:210:27)
at Object.onceWrapper (events.js:520:26)
at ClientRequest.emit (events.js:400:28)
at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)
at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17)
at TLSSocket.socketOnData (_http_client.js:515:22)
at TLSSocket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:290:12)
at readableAddChunk (internal/streams/readable.js:265:9)
at TLSSocket.Readable.push (internal/streams/readable.js:204:10)
(Use node --trace-warnings ... to show where the warning was created)
(node:2196) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2196) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

No Matter What I Do, I Get This Error.

@xzoltan
Copy link

xzoltan commented Sep 13, 2021

Which link are you passing to the library? I am experiencing the same behavior, but only on videos with age restriction

@basil-uk
Copy link
Author

Which link are you passing to the library? I am experiencing the same behavior, but only on videos with age restriction

any video does it

@samusaran
Copy link

Is there a way to specify cookies like in the original youtube-dl?

@basil-uk
Copy link
Author

Is there a way to specify cookies like in the original youtube-dl?

what does this have to do with my issue tho

@samusaran
Copy link

samusaran commented Sep 16, 2021 via email

@basil-uk
Copy link
Author

The code 410 is usually referred to being unable to download an age restriced video, which you can work around by using cookies. Sent from Ninehttp://www.9folders.com/

________________________________ Da: Quantum @.***> Inviato: giovedì 16 settembre 2021 21:03 A: fent/node-ytdl-core Cc: Alessandro Losi; Comment Oggetto: Re: [fent/node-ytdl-core] Error Code 410 (#1003) Is there a way to specify cookies like in the original youtube-dl? what does this have to do with my issue tho — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#1003 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACG7N45OF6QFJME44M6AW3UCI5QZANCNFSM5D2KSI6A. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

its not that, because i vpned and it managed to download, i asked in the discord and someone asked the dev.

@SkyRP25
Copy link

SkyRP25 commented Sep 21, 2021

same problem

@FuadDaoud
Copy link

same problem sometimes I get 410 with any url

@istiaqueahmedarik
Copy link

I also face the same problem

@KAAquilla
Copy link

I only get the issue with age-restricted videos. I think i implemented the cookies but i still get error 410. Or can someone spot an error i made? I am using "evobot" as the base.
image
image

@Datzu712
Copy link

Same problem with restricted videos

@FauziFerdiansyah
Copy link

there may be certain limitations that make the api can't get the desired result, by re-reflecting the cache is regenerated, then it takes a while after that it can be used again.

@FauziFerdiansyah
Copy link

FauziFerdiansyah commented Sep 27, 2021

last night i had this problem, after re-running npm start after few minutes it got usable again.

I asked my friend, he had experienced something similar but this error 410 occurred on youtube android device then he deleted the cache and could be opened again.

@RodrigoHernandez26
Copy link

Same problem with restricted videos

1 similar comment
@ModoloDev
Copy link

Same problem with restricted videos

@ziad67-bytes
Copy link

same problem with restricted videos, nobody have the solution ?

@TimeForANinja
Copy link
Collaborator

closing as dup of #1002
the 410 themselves should be fixed with #1022

@alevosia
Copy link

alevosia commented Feb 2, 2022

Still getting the same error at 4.10.1.

@TimeForANinja
Copy link
Collaborator

please open a new issue then

Repository owner locked as resolved and limited conversation to collaborators Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests