Skip to content

403: Forbidden when using getTweets python function #293

@anansi

Description

@anansi

I am getting this error for accessing a user profile with the code:

tweetCriteria = got.manager.TweetCriteria().setUsername('barackobama').setMaxTweets(1)
tweets = got.manager.TweetManager.getTweets(tweetCriteria)

Error is:

An error occured during an HTTP request: HTTP Error 403: Forbidden
Try to open in browser: https://twitter.com/search?q=%20from%3Abarackobama&src=typd

Has twitter updated its scraping detection? Please help

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