Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
OhkuboSGMS committed Aug 19, 2019
2 parents 158d163 + f633865 commit a053289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twitter_scraper/modules/tweets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

browser = mechanicalsoup.StatefulBrowser()
browser.addheaders = [('User-agent', 'Firefox')]

browser.session.headers.update({'Accept-Language':'en-US'})
def get_tweets(query, pages=25):
"""Gets tweets for a given user, via the Twitter frontend API."""

Expand Down

0 comments on commit a053289

Please sign in to comment.