v5.0
Simplified API — cleaner constructor and method names:
Scweet(cookies_file=...)/Scweet(auth_token=...)/Scweet(cookies=...)replacesScweet.from_sources(...)search()replacesscrape(words=[...])get_profile_tweets()replaces timeline via scrape kwargsget_user_info()replacesget_user_information()
Simplified config — flat ScweetConfig(concurrency=3, proxy=...) replaces nested ScweetConfig.from_sources(overrides={"pool": {"concurrency": ...}})
Other changes:
- Auto-refresh GraphQL query IDs from X on startup (
manifest_scrape_on_init=True) - Flat package structure (no more
v4/sub-package) save_nameparameter for custom output file names- X-Client-Transaction-Id header support (now required by X)
- Updated GraphQL response parsing for X's latest response format
- Removed legacy code paths (
legacy_csvresume,scweet.pycompat layer,accounts.txtformat) - Rewrote README and DOCUMENTATION.md
- 153 unit tests
pip install -U Scweet