d60 / twikit

Twitter API Scraper | Without an API key | Twitter Internal API | Free | Twitter scraper | Twitter Bot
https://twikit.readthedocs.io/en/latest/twikit.html
MIT License
1.28k stars 145 forks source link

AsyncClient.__init__() got an unexpected keyword argument 'proxy' #187

Open keviny opened 1 month ago

keviny commented 1 month ago

Anyone encountered this issue?

    client = Client('en-US')
  File "D:\virtualenv\python310\lib\site-packages\twikit\client\client.py", line 83, in __init__
    self.http = AsyncClient(proxy=proxy, **kwargs)
TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxy'
d60 commented 1 month ago

@keviny Update httpx to the latest version