Skip to content

Commit

Permalink
Increase user-agent versions to stop inifinite redirect loop (#949)
Browse files Browse the repository at this point in the history
* Move members-search inside try-block

* Handle translation for shared and user text, split into separate properties.

* Increase user-agent versions to stop inifinite redirect loop
  • Loading branch information
NielsOerbaek authored Jan 12, 2023
1 parent eb42d53 commit f659c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebook_scraper/facebook_scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FacebookScraper:
"Accept": "*/*",
"Connection": "keep-alive",
"Accept-Encoding": "gzip,deflate",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15",
}
have_checked_locale = False

Expand Down

0 comments on commit f659c56

Please sign in to comment.