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

tweets.py issue #1

Open
karimmahalian opened this issue Jun 4, 2022 · 4 comments
Open

tweets.py issue #1

karimmahalian opened this issue Jun 4, 2022 · 4 comments

Comments

@karimmahalian
Copy link

Hi,

I tried to run this code snscrape /tweets.py but I got this error

AttributeError: 'Tweet' object has no attribute 'user'

Many thanks in advance

@mehranpes
Copy link

Thanks for letting me know.
The snscrape package is updated and they have removed the 'user' attribute. I updated the code and now it works again. You can get the username directly with tweet.username

@karimmahalian
Copy link
Author

It works now. Thank you. Could u please tell me how to send a query using a hashtag instead of a user name?

Many thanks

@Reedheyner
Copy link

Hello! Please! I tried to run this code snscrape /tweets.py but I got this error. How may I solve it?

@Reedheyner
Copy link

It works now. Thank you. Could u please tell me how to send a query using a hashtag instead of a user name?

Many thanks

Hello,
Please! can I get the code for snscrape that works with you? I mean the whole package code. Thanks

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