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.68k stars 2.71k forks source link

[QUESTION] root:twint.output:_output:CSV:Error:invalid literal for int() with base 10: '' #905

Open saraa96 opened 3 years ago

saraa96 commented 3 years ago

Issue Template

Please use this template!

Initial Check

If the issue is a request please specify that it is a request in the title (Example: [REQUEST] more features). If this is a question regarding 'twint' please specify that it's a question in the title (Example: [QUESTION] What is x?). Please only submit issues related to 'twint'. Thanks.

Make sure you've checked the following:

Command Ran

CRITICAL:root:twint.output:_output:CSV:Error:invalid literal for int() with base 10: '' invalid literal for int() with base 10: '' [x] output._output | Twitter | @Twitter | Private: 0 | Verified: 1 | Bio: #BlackLivesMatter #BlackTransLivesMatter | Location: everywhere | Url: https://twitter.com/twitter | Joined: | Tweets: 13802 | Following: 1 | Followers: 58312478 | Likes: | Media: | Avatar: https://ma.twimg.com/twitter-mobile/a8491f04da4e54be98cff3a86c58f23a770c26bd/images/sprites/larry_28px.gif

Description of Issue

i have this problem when i run the code of profile user by ( twint.run.Lookup(c) ) to get information and save the information to csv file CRITICAL:root:twint.output:_output:CSV:Error:invalid literal for int() with base 10: '' invalid literal for int() with base 10: '' [x] output._output

Environment Details

Using Windows, Linux? What OS version? Running this in Anaconda? Jupyter Notebook? Terminal? windows 10

essentialols commented 3 years ago

I receive the same error message on Twint 2.1.21 on Mac OS Catalina with Anaconda. Running this in a Jupyter Notebook in VS Code.

flippedkiki commented 3 years ago

I receive the same error message on Twint 2.1.21 on Window10 with Anaconda3(python3.6.5). Running this in Pycharm. After upgradation(Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;), it still occured this error.

flippedkiki commented 3 years ago

The output is: | Robert Wilson | @Bobby_Wils | Private: 0 | Verified: 0 | Bio: | Location: Wales / UK | Url: https://twitter.com/bobby_wils | Joined: | Tweets: 1104 | Following: 243 | Followers: 67 | Likes: | Media: | Avatar: https://pbs.twimg.com/profile_images/957675108117737474/uMOA4jci_normal.jpg

Maybe just some attributes like Bio, Joined, Likes, Media, follow no value behind them that occurs this error?