twintproject / twint

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.
MIT License
15.83k stars 2.73k forks source link

Twint goes to sleep after CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) #935

Open lusho720 opened 4 years ago

lusho720 commented 4 years ago

Hello, I´ve been trying to use Twint for a little while but always get this: PS C:\WINDOWS\system32> twint -u 138471254 --since 2019-10-20 -o Minsa.csv--csv CRITICAL:root:twint.get:User: CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 15 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 15 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 27.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 64.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 125.0 secs

I´m hoping somebody could help me please, it´s for my med school thesis

Him98 commented 4 years ago

I believe #915 is the same issue with a solution in #917.

VenkateshDas commented 4 years ago

I am facing the same problem and #917 is not solving the problem as well. Could someone help with the issue. When using the twint.run.Search() function it throws this error "CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0)" and goes to sleep.

XindiK commented 3 years ago

I am facing the same problem and #917 is not solving the problem as well. Could someone help with the issue. When using the twint.run.Search() function it throws this error "CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0)" and goes to sleep.

same issue

vineeth567 commented 3 years ago

Same issue. Any alternatives or solutions found?

vesuvius13 commented 3 years ago

I followed these steps and twint worked.

create a new virtual environment in anaconda and install python 3.6 in there. conda create -n yourenvname python=3.6 anaconda Then, follow these steps:-

git clone https://github.com/twintproject/twint.git
cd twint
pip3 install . -r requirements.txt
pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint

Then try to run the script:-

!pip install nest_asyncio
import nest_asyncio
nest_asyncio.apply()

import twint
config = twint.Config()
config.Search = "Dogecoin"
config.Limit = 10
config.Store_csv = True
config.Output = "doge.csv"
twint.run.Search(config)