Skip to content

[FEATURE] --cookies to play videos with a VPN #26

@TuxEnthusiast

Description

@TuxEnthusiast

I have a VPN on and I get this error:

[youtube] Extracting URL: https://www.youtube.com/watch?v=ivGx54_X7YE
[youtube] ivGx54_X7YE: Downloading webpage
[youtube] ivGx54_X7YE: Downloading tv player API JSON
[youtube] ivGx54_X7YE: Downloading ios player API JSON
ERROR: [youtube] ivGx54_X7YE: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies
[CRITICAL] (mov_cli) - An error occurred inside a plugin. This is MOST LIKELY not a mov-cli error, make SURE mov-cli and your plugins are up to date. Also report this to the plugin, not mov-cli! 
Error: ERROR: [youtube] ivGx54_X7YE: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies. Also see  https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies  for tips on effectively exporting YouTube cookies
[INFO] (mov_cli) - [ATNS] ❌ Error occurred while scraping with 'youtube.DEFAULT'! Trying the next scraper...
[INFO] (mov_cli) - Using 'youtube.pytube' scraper...
[INFO] (mov_cli) - Searching for 'blender studio'...
[CRITICAL] (mov_cli) - An error occurred inside a plugin. This is MOST LIKELY not a mov-cli error, make SURE mov-cli and your plugins are up to date. Also report this to the plugin, not mov-cli! 
Error: mN0zPOpADL4 This request was detected as a bot. Use `use_po_token=True` or switch to WEB client to view. See more details at https://github.com/JuanBindez/pytubefix/pull/209
[INFO] (mov_cli) - [ATNS] ❌ Error occurred while searching with 'youtube.pytube'! Trying the next scraper...
tuxenthusiast@fedora:~$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions