2023-04-22 16:50:09 +03:00
2023-04-22 20:42:14 +03:00
2023-04-22 16:50:09 +03:00
2023-04-22 16:50:09 +03:00
2023-04-22 16:50:09 +03:00

Twitter GraphQL and Search API implementation with SNScrape data models.

Usage

import asyncio
from twapi.client import UserClient
from twapi.search import Search

async def main():
    account = UserClient("user", "pass", "user@example.com", "email_pass")
    search = Search(account)

    async for rep, data, _ in search.query("elon musk"):
        print(rep.status_code, data)

if __name__ == "__main__":
    asyncio.run(main())
Описание
2024! X / Twitter API scrapper with authorization support. Allows you to scrape search results, User's profiles (followers/following), Tweets (favoriters/retweeters) and more.
Readme MIT 3,7 MiB
Languages
Python 97.7%
Makefile 2.3%