AnimMouse / setup-yt-dlp

Setup/Install yt-dlp (a youtube-dl fork) for GitHub Actions
https://github.com/marketplace/actions/setup-yt-dlp
Mozilla Public License 2.0
12 stars 7 forks source link

Obsolete YouTube OAuth2 plugin #2

Open boulbi777 opened 5 days ago

boulbi777 commented 5 days ago

Hi,

First of all, thank you for this great work.

I have recently noticed this error in my github action. Everything was working fine 2 weeks ago :

WARNING: The YouTube OAuth2 plugin is obsolete! Official support for logging into YouTube with OAuth in yt-dlp was added in the 2024.10.22 release. 
See  https://***.com/yt-dlp/yt-dlp/wiki/Extractors#logging-in-with-oauth  for how to use the official OAuth implementation.
To uninstall the plugin:
pip: pip uninstall yt-dlp-youtube-oauth2
pipx: pipx uninject yt-dlp yt-dlp-youtube-oauth2
manual: delete the plugin zip or files where you installed them
WARNING: [youtube:tab+oauth2] Incomplete yt initial data received. Retrying (1/3)...
WARNING: [youtube:tab+oauth2] Incomplete yt initial data received. Retrying (2/3)...
WARNING: [youtube:tab+oauth2] Incomplete yt initial data received. Retrying (3/3)...
WARNING: [youtube:tab+oauth2] Incomplete yt initial data received; please report this issue on  https://***.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U. Giving up after 3 retries
WARNING: [youtube:tab+oauth2] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube:tab+oauth2] HTTP Error 400: Bad Request. Retrying (1/3)...
WARNING: [youtube:tab+oauth2] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube:tab+oauth2] HTTP Error 400: Bad Request. Retrying (2/3)...
WARNING: [youtube:tab+oauth2] YouTube said: ERROR - Request contains an invalid argument.
WARNING: [youtube:tab+oauth2] HTTP Error 400: Bad Request. Retrying (3/3)...
WARNING: [youtube:tab+oauth2] YouTube said: ERROR - Request contains an invalid argument.
ERROR: [youtube:tab+oauth2] PLDBQmURq6pOfBKc6WU0wXTg2vxAjxjQel: Unable to download API page: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)

Any idea on how to fix this ?

Thanks.

AnimMouse commented 5 days ago

Please update to AnimMouse/setup-yt-dlp@v2 and follow the new installation guide here.

AnimMouse commented 5 days ago

Sadly, it seems like YouTube created more restrictions with OAuth. https://github.com/yt-dlp/yt-dlp/issues/11462