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.66k stars 2.72k forks source link

CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) [December 2021] #1311

Open Asroisgood opened 2 years ago

Asroisgood commented 2 years ago

[HELP ME, I USE TWINT FOR MY FINAL PROJECT (THESIS) ON COLLEGE] [my code] c = twint.Config() c.Search = "PPKM" c.Since = "2021-07-21" c.Until = "2021-08-03" c.Limit = 1000 c.Store_csv = True c.Output = "Data Tweet - 3 Agustus 2021.csv" twint.run.Search(c)

[since 12/12/2021]

CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 1.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 8.0 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 CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 216.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 343.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 512.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 729.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) CRITICAL:root:twint.run:Twint:Feed:Tweets_known_error:Expecting value: line 1 column 1 (char 0) Expecting value: line 1 column 1 (char 0) [x] run.Feed[!] if get this error but you know for sure that more tweets exist, please open an issue and we will investigate it!

timothydillan commented 2 years ago

Hey there. I got this issue as well and managed to fix it. All you need to do is reinstall twint, and upgrade it: pip3 uninstall twint && pip3 install twint && pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint

Screen Shot 2021-12-24 at 10 11 16

Hope this helps and best of lucks with your thesis!

palavaryunusemre commented 2 years ago

hi, I couldn't run

Selam. Ben de bu sorunu aldım ve düzeltmeyi başardım. Tek yapmanız gereken twint'i yeniden yüklemek ve yükseltmek: Umarım bu yardımcı olur ve tezinizde bol şanslar dileriz! pip3 uninstall twint && pip3 install twint && pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint Ekran Görüntüsü 2021-12-24, 10 11 16

timothydillan commented 2 years ago

hi, I couldn't run

Selam. Ben de bu sorunu aldım ve düzeltmeyi başardım. Tek yapmanız gereken twint'i yeniden yüklemek ve yükseltmek: Umarım bu yardımcı olur ve tezinizde bol şanslar dileriz! pip3 uninstall twint && pip3 install twint && pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint Ekran Görüntüsü 2021-12-24, 10 11 16

Hi @palavaryunusemre, mind sending any error messages/screenshots so that I can help you out?

palavaryunusemre commented 2 years ago

D:\yl\data\venv\Scripts\python.exe D:/yl/data/main.py CRITICAL:root:twint.run:Twint:Feed:noData'globalObjects' sleeping for 1.0 secs CRITICAL:root:twint.run:Twint:Feed:noData'globalObjects' sleeping for 8.0 secs CRITICAL:root:twint.run:Twint:Feed:noData'globalObjects' sleeping for 27.0 secs

palavaryunusemre commented 2 years ago

`import twint import nest_asyncio nest_asyncio.apply()

c=twint.Config()

c.Since='2017-04-04' c.Store_object = True c.Hide_output = True c.Store_csv = True c.Output = 'data.csv'

twint.run.Search(c) `

my code

timothydillan commented 2 years ago

`import twint import nest_asyncio nest_asyncio.apply()

c=twint.Config()

c.Since='2017-04-04' c.Store_object = True c.Hide_output = True c.Store_csv = True c.Output = 'data.csv'

twint.run.Search(c) `

my code

what's the issue with this code? are you encountering any errors? would be great if you can provide details

palavaryunusemre commented 2 years ago

D:\yl\data\venv\Scripts\python.exe D:/yl/data/main.py KRİTİK:root:twint.run:Twint:Feed:noData'globalObjects' 1.0 saniye uyuyor KRİTİK:root:twint. run:Twint:Feed:noData'globalObjects' 8,0 saniye uyuyor KRİTİK:root:twint.run:Twint:Feed:noData'globalObjects' 27,0 saniye uyuyor

error of my code

palavaryunusemre commented 2 years ago

image

victisty commented 2 years ago

image

I'm having the same issue. I'm using the new 16 inch MacBook Pro. Could it be the apple chip?

palavaryunusemre commented 2 years ago

we should set the keyword to be searched as input. this solved the problem for me.