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
65e7d8bd
🤬
Sign In
Fix warning on card URL translation to include the tweet ID
JustAnotherArchivist
committed
2 years ago
65e7d8bd
1 parent
3870282a
Revision indexing in progress... (symbol navigation in revisions will be accurate after indexed)
Total 1 files
■
■
■ ■ ■ ■
snscrape/modules/twitter.py
skipped 861 lines
862
862
try:
863
863
i = kwargs['tcooutlinks'].index(card.url)
864
864
except ValueError:
865
-
_logger.warning('Could not find card URL in tcooutlinks')
865
+
_logger.warning(
f
'Could not find card URL in tcooutlinks
on
tweet
{
kwargs
[
"
id
"
]
}
')
866
866
else:
867
867
card.url = kwargs['outlinks'][i]
868
868
return Tweet(**kwargs)
skipped 803 lines
All occurrences
Please wait...
Page is in error, reload to recover