crash.software
Projects
Pull Requests
Issues
Builds
snscrape
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
snscrape
Commits
0350ab06
🤬
Sign In
Fix Facebook scraper returning strings instead of Items
JustAnotherArchivist
committed
6 years ago
0350ab06
1 parent
6b6ae3d3
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■
■
■ ■ ■ ■
snscrape/modules/facebook.py
skipped 22 lines
23
23
if href.startswith(f'/{username}/'):
24
24
link = urllib.parse.urljoin(baseUrl, href)
25
25
if link not in yielded:
26
-
yield link
26
+
yield snscrape.base.URLItem(link)
27
27
yielded.add(link)
28
28
29
29
def get_items(self):
skipped 49 lines
All occurrences
Please wait...
Page is in error, reload to recover