Open DataGreed opened 3 years ago
hello, I have the same issue, I'm working on windows. did you solve the problem, please?
thank you
@AsmaZbt nope, I gave up on twint. Seems like it has been an issues since August when twitter changed something in their APIs.
I've wrote a custom scraping solution for my specific use-case.
@DataGreed @AsmaZbt You must have installed twint using
pip install twint
try installing using thr following command, and this should work
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
Twint hasn't been updated on pypi for a while now, that's why the first method doesn't work.
@DataGreed @AsmaZbt You must have installed twint using
pip install twint
try installing using thr following command, and this should work
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
Twint hasn't been updated on pypi for a while now, that's why the first method doesn't work.
hello @himanshudabas thank you so much, the command:
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
solved the issue, twint work now for me, but only on Jupyter Notebook and it doesn't work on Spyder, do have an idea, what can be the problem?
best regards
@AsmaZbt I haven't Personally tested twint on Spyder. Can you share the script that you are running on Spyder along with the environment of Spyder and error that you get while running twint on Spyder.
@AsmaZbt I haven't Personally tested twint on Spyder. Can you share the script that you are running on Spyder along with the environment of Spyder and error that you get while running twint on Spyder.
I fixed the issue with : Reset Spyder setting
my script is very basic like this : c = twint.Config() c.Username = "shugairi" c.Limit = 1
twint.run.Search(c)
and I did not get any error message, it gives nothing in a loop while.
thank you so much @himanshudabas for the HELP ^_^
best regards
@DataGreed what did you use for your custom scraping solution?
I'm getting bitten by CRITICAL:root:twint.feed:Follow:IndexError
found on issues #1127, #1101, #1077, #1011, #893 and #839...
@nate8020 I just checked the xhr requests on twitter page, and created a script that automatically loads new pages using requests library. I don't remember all the details though as it was a one-time research, I probably re-used some iteration logic from twint.
@DataGreed what did you use for your custom scraping solution?
I'm getting bitten by
CRITICAL:root:twint.feed:Follow:IndexError
found on issues #1127, #1101, #1077, #1011, #893 and #839...
Did you figure a way around this? I get the same error on CLI when running twint -u username --followers
@paulowe I haven't figured out a solution to this yet. I ended up using the official Twitter API as it was enough for my requirements.
@paulowe I haven't figured out a solution to this yet. I ended up using the official Twitter API as it was enough for my requirements.
Same here
@DataGreed o que você usou para sua solução de raspagem personalizada? Estou sendo mordido por
CRITICAL:root:twint.feed:Follow:IndexError
encontrado nos problemas # 1127 , # 1101 , # 1077 , # 1011 , # 893 e # 839 ...Você descobriu uma maneira de contornar isso? Recebo o mesmo erro na CLI ao executar
twint -u username --followers
did you find any solution?
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
;Command Ran
Description of Issue
Crashes with
Environment Details
macOS terminal, python 3.6