-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Error getting tweets #938
Comments
I am getting the same error. Is there any solution for this? |
This seems to be an issue with your |
you need to update the aiohttp_socks to 0.5.5 version and this will work |
How is that package updated? I'm sorry because I'm still inexperienced at this. Thank you very much! |
pip install --user --upgrade aiohttp_socks |
It has been updated successfully. Run the twint command again
|
Try the following steps and see if your issue gets fixed
Let me know if this works for you. |
Have you solved the problem(TypeError: Argument should be str)? I have the same problem now |
I'm getting errors like this on every command I've tried. Only installed from the master branch (on macOS 12.0.1 with Python 3.9.12) today.
An example of the command used is the following, ... someone only following a couple of hundred accounts.
|
I'm following up this comment
in #1297 (even though typos are always a concern!) --> #1299 ... I have less errors now! (Only one!)
#1206 suggests that this particular search (to list following") can't be done anymore without Twitter logged in. (Twitter changed) I don't see an option to log in, with It does however work for listing tweets, and it got a lot, as that (Electoral Commission) account seems to be employed to continually Tweet, at least as an election has already been called.
|
I have reinstalled Twint using the github command:
pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
I try to get the tweets in this way:
twint -u username
and it returns the following error:Traceback (most recent call last): File "c:\users\davidperea\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "c:\users\davidperea\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\DavidPerea\AppData\Local\Programs\Python\Python37-32\Scripts\twint.exe\__main__.py", line 5, in <module> File "C:\Users\DavidPerea\AppData\Roaming\Python\Python37\site-packages\twint\__init__.py", line 14, in <module> from . import run File "C:\Users\DavidPerea\AppData\Roaming\Python\Python37\site-packages\twint\run.py", line 4, in <module> from . import datelock, feed, get, output, verbose, storage File "C:\Users\DavidPerea\AppData\Roaming\Python\Python37\site-packages\twint\get.py", line 12, in <module> from aiohttp_socks import ProxyConnector, ProxyType ImportError: cannot import name 'ProxyConnector' from 'aiohttp_socks' (c:\users\davidperea\appdata\local\programs\python\python37-32\lib\site-packages\aiohttp_socks\__init__.py)
What can I do, please?
The text was updated successfully, but these errors were encountered: