Commit Graph

29 Commits

Author SHA1 Message Date
Mike Fährmann
9dbe33b6de replace old %-formatted and .format(…) strings with f-strings (#7671)
mostly using flynt
https://github.com/ikamensh/flynt
2025-06-29 17:50:19 +02:00
Mike Fährmann
b0580aba86 update 'match.lastindex' usage 2025-06-18 20:24:13 +02:00
Mike Fährmann
41191bb60a 'match.group(N)' -> 'match[N]' (#7671)
2.5x faster
2025-06-18 13:05:58 +02:00
Mike Fährmann
31133b97fb [nitter] remove instances 2024-06-02 18:15:53 +02:00
Mike Fährmann
1db0a587f3 [nitter] ignore invalid Tweets (#5253)
like "Load newest"
2024-02-29 16:31:37 +01:00
Mike Fährmann
b0a441f1e3 [nitter] remove 'nitter.lacontrevoie.fr'
"Fermeture de Nitter / Closing down Nitter"
2024-01-19 19:34:16 +01:00
enduser420
1e9bacd169 [nitter] fix video extraction 2023-11-27 21:58:06 +05:30
Mike Fährmann
a453335a9f remove test results in extractor modules
and add generic example URLs
2023-09-11 16:30:55 +02:00
Mike Fährmann
d97b8c2fba consistent cookie-related names
- rename every cookie variable or method to 'cookies_*'
- simplify '.session.cookies' to just '.cookies'
- more consistent 'login()' structure
2023-07-22 01:20:50 +02:00
Mike Fährmann
5d7435e803 [nitter] extract user IDs from encoded banner URLs
still requires a banner to be present to begin with
2023-04-23 19:13:27 +02:00
Mike Fährmann
2cd4411ff8 [nitter] extract videos from 'source' elements (#3912) 2023-04-14 19:00:56 +02:00
Mike Fährmann
89a67c45e0 [nitter] support nitter.it (#3819) 2023-03-25 13:29:22 +01:00
Mike Fährmann
88f29a751d [nitter] skip broadcasts
instead of downloading an "Unsupported feature" HTML page
2023-03-25 13:09:24 +01:00
Mike Fährmann
1e013eba5a [nitter] fix extraction for instances without user banners 2023-03-25 12:50:40 +01:00
Mike Fährmann
817fc0fbd1 [nitter] remove nitter.pussthecat.org
"Shutdown"
2023-03-09 23:48:39 +01:00
Mike Fährmann
67ec91cdbd [downloader:http] change '_http_retry' to accept a Python function
and rename '_http_retry_codes' to '_http_retry'

(#3569)
2023-03-09 23:30:15 +01:00
Mike Fährmann
ed2d715019 fix 'keywords' in extractor tests (#3491) 2023-01-03 15:14:23 +01:00
Mike Fährmann
20e12b5d7c [nitter] support '/i/user/' URLs (#3310)
as well as using 'id:<userid>' as username

not all nitter instances seem to support '/i/user/' ...
2022-12-04 16:21:13 +01:00
Mike Fährmann
a18511e346 [nitter] retry downloads on 404 (#3313) 2022-12-01 11:09:02 +01:00
Mike Fährmann
1bdd0e4338 [nitter] support '/i/web/' Tweet URLs (#3310) 2022-11-30 11:45:56 +01:00
Mike Fährmann
4287a93202 [nitter] handle base64-encoded filenames 2022-11-27 18:09:07 +01:00
Mike Fährmann
6cb12f513b [nitter] support quoted Tweets
- distinguish between regular and quoted Tweets and media
- add 'quoted' option and metadata field
2022-11-26 11:23:03 +01:00
Mike Fährmann
aabfa7cf34 [nitter] fix direct Tweet links 2022-11-25 20:50:38 +01:00
Mike Fährmann
a41d093bb1 [nitter] add 'retweets' option (#3278) 2022-11-25 19:53:28 +01:00
Mike Fährmann
3d6489a4c0 [nitter] update 'user' and 'author' 2022-11-25 18:50:04 +01:00
Mike Fährmann
ed49e63d95 [nitter] set 'hlsPlayback' cookie 2022-11-25 16:53:55 +01:00
Mike Fährmann
e081b1fac4 [nitter] sanitize filenames (#3294) 2022-11-25 16:53:27 +01:00
Mike Fährmann
e31d12139c [nitter] add 'videos' option (#3279)
with the same semantics as for twitter
2022-11-24 22:56:01 +01:00
Mike Fährmann
6c153750fa [nitter] add extractors for Nitter instances (#2696) 2022-11-15 11:44:16 +01:00