Skip to content

[BUG]Crawling a single video comment reports an error #55

Description

@jinsaijin

from ytfetcher import YTFetcher

fetcher = YTFetcher.from_video_ids(
video_ids=['OUmh3hCgXnY']
)

comments_data = fetcher.fetch_youtube_data()
print(comments_data)

Execution returned error:
ERROR: [youtube] OUmh3hCgXnY: 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions