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

Getting mentions and hashtags #267

Open
thaleslr opened this issue Jun 3, 2020 · 2 comments
Open

Getting mentions and hashtags #267

thaleslr opened this issue Jun 3, 2020 · 2 comments

Comments

@thaleslr
Copy link

thaleslr commented Jun 3, 2020

Hey guys,

I am having some trouble while getting mentions and hashtags from the queries. I used the standard files from the github but everytime I get only '@' or '#' instead of mentions or hashtags.

I was having the same problem for usernames, but I fixed it switching from Python 3.6.9 to 2.7.17.

Has anyone ever had this issue?

As an example:
### Example 2 - Get tweets by query search [europe refugees]
Username: jerranspearman3
Retweets: 0
Text: [106] Europe's Refugees & American Elections w/ Chris Hedges https://youtu.be/GYqgj3l4r18  via @ YouTube
Mentions: @
Hashtags:

Thanks a lot!

@rijalfm25
Copy link

I just edited some code in TweetManager.py to get exactly hastags and mentions from the tweet

@rijalfm25
Copy link

Because in original code, to scrape hastag or mentions from the tweet just using regex from tweet text not from the data.

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

2 participants