An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
[] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;yes
[] I have searched the issues and there are no duplicates of this issue/question/request.yes
Description of Issue
Please use as much detail as possible.
Traceback (most recent call last):
File "t.py", line 27, in mytwint
twint.run.Search(c)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 410, in Search
run(config, callback)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 329, in run
get_event_loop().run_until_complete(Twint(config).main(callback))
File "/root/.miniconda3/envs/twvenv/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 235, in main
await task
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 286, in run
await self.tweets()
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 217, in tweets
await self.Feed()
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/run.py", line 62, in Feed
response = await get.RequestUrl(self.config, self.init)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/get.py", line 135, in RequestUrl
response = await Request(_url, params=params, connector=_connector, headers=_headers)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/get.py", line 161, in Request
return await Response(session, _url, params)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/twint/get.py", line 167, in Response
async with session.get(_url, ssl=True, params=params, proxy=httpproxy) as response:
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/aiohttp/client.py", line 1083, in aenter
self._resp = await self._coro
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/aiohttp/client.py", line 513, in _request
resp = await req.send(conn)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 631, in send
await writer.write_headers(status_line, self.headers)
File "/root/.miniconda3/envs/twvenv/lib/python3.8/site-packages/aiohttp/http_writer.py", line 116, in write_headers
buf = _serialize_headers(status_line, headers)
File "aiohttp/_http_writer.pyx", line 137, in aiohttp._http_writer._serialize_headers
File "aiohttp/_http_writer.pyx", line 109, in aiohttp._http_writer.to_str
TypeError: Cannot serialize non-str key None
Environment Details
Using Windows, Linux? What OS version? Running this in Anaconda? Jupyter Notebook? Terminal?
Ubuntu 20.04 in terminal
I'm searching for '0x516980e3321482b51b0e10af2770d6fbd47f6f9f'
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
;yesDescription of Issue