taspinar / twitterscraper

Scrape Twitter for Tweets
MIT License
2.39k stars 581 forks source link

The switch --profile giving null output #329

Closed j824h closed 1 year ago

j824h commented 3 years ago

After a run with the switch --profiles, the output userprofiles_tweets.json contains the value null for each user to be saved.

I suspect this is due to confusion of the data items. Twitter Help Center tweet.py user.py Usually seen
Username screen_name user @j824h
Name username full_name ☆jUngHyeon☆

Apparently, main.py must be requesting https://twitter.com/☆jUngHyeon☆ and come back with 404.

For now I have my own fix.

Can anyone reproduce the problem? If you do, please confirm the bug so that I can create a PR.

taspinar commented 3 years ago

Which command are you using for this problem to occur?

j824h commented 3 years ago

twitterscraper Trump --limit 20 --profiles

It was the command using --profiles, not --profile (sorry for confusion).

Now I can't reproduce my issue as I'm unable to obtain any result, probably related to #336, #339.