Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Username returning empty #239

Open
jtaylor351 opened this issue Feb 26, 2019 · 2 comments
Open

Username returning empty #239

jtaylor351 opened this issue Feb 26, 2019 · 2 comments

Comments

@jtaylor351
Copy link

Here is an example of what is returned as a tweet:

{'id': '815709183261769729', 'permalink': 'https://twitter.com/rachaelsibs/status/815709183261769729', 'username': '', 'text': "so no they don't all count... that's just a total number of white men who died in the civil war.", 'date': datetime.datetime(2017, 1, 1, 18, 59, 59), 'formatted_date': 'Sun Jan 01 18:59:59 +0000 2017', 'retweets': 0, 'favorites': 0, 'mentions': '', 'hashtags': '', 'geo': '', 'urls': '', 'author_id': 799595761004662784}

Not all tweets are geotagged but all tweets should have a username.

@AnonymizedAccount
Copy link

This is the same problem for me. I got tweets with empty username

@LoLei
Copy link

LoLei commented Apr 13, 2019

Seems like this only happens for the Python 3 version:

python2 Exporter.py --querysearch "query" --maxtweets 10 --until 2016-01-01 works.
python3 Exporter.py --querysearch "query" --maxtweets 10 --until 2016-01-01 -> empty usernames.

Btw I had to fix one line of Exporter.py from Python 2 print syntax to Python 3 syntax.


This PR fixes it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants