Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Wrong reactions scraped #22

Closed
y2kfresh opened this issue Mar 6, 2018 · 4 comments
Closed

Wrong reactions scraped #22

y2kfresh opened this issue Mar 6, 2018 · 4 comments

Comments

@y2kfresh
Copy link

y2kfresh commented Mar 6, 2018

E.g:

for tweet in get_tweets('realDonaldTrump', pages=1):
... print(tweet)
...

{'text': 'Possible progress being made in talks with North Korea. For the first time in many years, a serious effort is being made by all parties concerned. The World is watching and waiting! May be false hope, but the U.S. is ready to go hard in either direction!', 'replies': 0, 'retweets': 0, 'likes': 0}

Source:

Possible progress being made in talks with North Korea. For the first time in many years, a serious effort is being made by all parties concerned. The World is watching and waiting! May be false hope, but the U.S. is ready to go hard in either direction!
6,967 replies 10,161 retweets 38,094 likes

@danielbfr3
Copy link
Contributor

Can I try to fix it?

@kennethreitz
Copy link
Collaborator

@danielfr3 go for it!

@y2kfresh
Copy link
Author

y2kfresh commented Mar 8, 2018

@kennethreitz : ty, it also need .replace(",","") for values greater than one thousand

@danielbfr3
Copy link
Contributor

danielbfr3 commented Mar 12, 2018 via email

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

No branches or pull requests

3 participants