Open trustedlain opened 5 years ago
Which python3 version you are running with?
I'm using python 3.7.3
Can you update source with referenced to #45 and check for output?
I am seeing this now with any account, even the example code in README. Version is 0.3.0, latest from PyPi.
@vranki the version stored in pypi is deprecated. I don't have permissions to push never versions to PyPI (cc @kennethreitz ). Please install from source
Trying to run your test script with the random user https://twitter.com/preta_6 whos first tweet is only a picture, running the basic example from your readme.md gives me this error.
File "twitterTest2.py", line 3, in <module> for tweet in get_tweets('preta_6', pages=1): File "/home/username/twitterToMastodon/env/lib/python3.7/site-packages/twitter_scraper.py", line 78, in get_tweets yield from gen_tweets(pages) File "/home/username/twitterToMastodon/env/lib/python3.7/site-packages/twitter_scraper.py", line 42, in gen_tweets replies = int(interactions[0].split(" ")[0].replace(comma, "").replace(dot,"")) ValueError: invalid literal for int() with base 10: '1\xa0256'