mirror of
https://github.com/bellingcat/snscrape.git
synced 2026-06-08 02:28:29 +03:00
Fix Facebook scraper returning strings instead of Items
This commit is contained in:
@@ -23,7 +23,7 @@ class FacebookUserScraper(snscrape.base.Scraper):
|
||||
if href.startswith(f'/{username}/'):
|
||||
link = urllib.parse.urljoin(baseUrl, href)
|
||||
if link not in yielded:
|
||||
yield link
|
||||
yield snscrape.base.URLItem(link)
|
||||
yielded.add(link)
|
||||
|
||||
def get_items(self):
|
||||
|
||||
Reference in New Issue
Block a user