mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-08 02:28:29 +03:00
Extract Facebook group post in chronological order (instead of by last comment)
Fixes #66
This commit is contained in:
@@ -189,7 +189,7 @@ class FacebookGroupScraper(FacebookCommonScraper):
|
||||
pageletDataPrefixLength = len('"GroupEntstreamPagelet",')
|
||||
spuriousForLoopPattern = re.compile(r'^for \(;;\);')
|
||||
|
||||
baseUrl = f'https://www.facebook.com/groups/{self._group}/'
|
||||
baseUrl = f'https://www.facebook.com/groups/{self._group}/?sorting_setting=CHRONOLOGICAL'
|
||||
r = self._get(baseUrl, headers = headers)
|
||||
if r.status_code == 404:
|
||||
logger.warning('Group does not exist')
|
||||
|
||||
Reference in New Issue
Block a user