Skip to content

Download error #2

@kszpxxzmc

Description

@kszpxxzmc

When I execute python prepare_dataset.py crawl, I encounter the following error:

error: [youtube] u7mroryc2gy: 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.

I know that using --cookies can help me solve this issue, but adding cookies as a key in YTDL_OPTS is ineffective. How do you resolve this issue in your code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions