node-ytdl-core icon indicating copy to clipboard operation
node-ytdl-core copied to clipboard

Status code 410 Age limited videos

Open Martint06 opened this issue 3 years ago • 6 comments

Hey !

I actually creating an Electron app to dowload video I'm trying to dowmload this video : https://www.youtube.com/watch?v=br82-adJ0FU And its age limited. So I tried to use the cookie part like in this issue : https://github.com/fent/node-ytdl-core/issues/684

This is my code requestOptions: { headers: { cookie: cookie, "x-youtube-identity-token": ID_TOKEN, }, }, cookie come from document.cookie on the youtube page ID_TOKEN come from ID_TOKEN on the youtube page

( without ID_TOKEN I got Error: Cookie header used in request, but unable to find YouTube identity token ) I have no ideas what I'm doing wrong.

Thanks for your work.

I'm using [email protected] no vpn ( I'm from France ) ( of course my account is 18+ )

Martint06 avatar Nov 29 '22 23:11 Martint06

I have the same issue here, and I'm also from france.

R4tonBaveur avatar Jan 31 '23 01:01 R4tonBaveur

How to get ID_TOKEN ?

keval6706 avatar Feb 28 '23 15:02 keval6706

Same here

RodrigoHernandez26 avatar Mar 10 '23 02:03 RodrigoHernandez26

Also seeing this issue, Australia

frownfork avatar Mar 20 '23 21:03 frownfork

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.

stale[bot] avatar Jun 18 '23 13:06 stale[bot]

You need another cookie. In network search for a request with your x-youtube-identity-token.

tempname8900 avatar Aug 19 '23 04:08 tempname8900