HarshCasper / Rotten-Scripts

Scripts that will make you go WOW!
MIT License
1.45k stars 494 forks source link

Tweet Scraper with a Particular hashtag using Twint #579

Closed Siddhant-K-code closed 3 years ago

Siddhant-K-code commented 3 years ago

Is your feature request related to a problem? Please describe.

A Short and Simple Python Script to Scrap Tweets of particular Hashtag without Twitter API (Tweepy)

Describe the solution you'd like

Simple Python Script using Twint

Additional context

Twint ⇒ https://github.com/twintproject/twint

Do I Want to work on this ?

Yes

github-actions[bot] commented 3 years ago

Hi thanks for creating your first issue at Rotten Scripts, hope you followed the guidelines.

HarshCasper commented 3 years ago

Hello @Siddhant-K-code

Are you working on this as part of NJACK Winter of Code or KWOC? Do let me know so that I can put apt tags and difficulty tags as well.

Siddhant-K-code commented 3 years ago

I will be work on this part of a project for KWOC

Siddhant-K-code commented 3 years ago

Please add label KWOC'20 @HarshCasper

HarshCasper commented 3 years ago

Hello @Siddhant-K-code

Are you still working on the same?

Siddhant-K-code commented 3 years ago

Yes, its almost done.

On Tue, 29 Dec 2020, 6:12 pm Harsh Bardhan Mishra, notifications@github.com wrote:

Hello @Siddhant-K-code https://github.com/Siddhant-K-code

Are you still working on the same?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HarshCasper/Rotten-Scripts/issues/579#issuecomment-752062163, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANEESCDIZ6GGEEMAF3KEMWLSXHFFDANCNFSM4UTP5FYA .

vybhav72954 commented 3 years ago

@Siddhant-K-code Can you confirm the status!!!

Siddhant-K-code commented 3 years ago

@Siddhant-K-code Can you confirm the status!!!

I tried it, but unable to implement this!!

RohiniRG commented 3 years ago

I would like to work on this issue using the python library of snscrape which would be a better alternative to tweepy. I would be glad to give it a try. I am a participant of GSSOC'21

vybhav72954 commented 3 years ago

Awesome @RohiniRG Keep me posted in case you face any problem

RohiniRG commented 3 years ago

Awesome @RohiniRG Keep me posted in case you face any problem

Hello! So I am almost done with the code, but what details associated with the hashtags should I add to the file (Eg.username, tweet, date, time, location, id, etc. or should I add them all?) And also, what file format should I go with (.txt, .csv, .json, .pdf) ?

Siddhant-K-code commented 3 years ago

Hello! So I am almost done with the code, but what details associated with the hashtags should I add to the file (Eg.username, tweet, date, time, location, id, etc. or should I add them all?) And also, what file format should I go with (.txt, .csv, .json, .pdf) ?

Yes, you can add them all. in a .csv format { and, make user-defined fileNameProvidedByUser.csv => just ask for the input of fileName}

RohiniRG commented 3 years ago

@vybhav72954 @HarshCasper @seema1711 could you please have a look at the PR and let me know if there is something I need to work on

vybhav72954 commented 3 years ago

@RohiniRG Kudos to you!!! Looking for more from you. @Siddhant-K-code Thank you for help

RohiniRG commented 3 years ago

@RohiniRG Kudos to you!!! Looking for more from you. @Siddhant-K-code Thank you for help

Thanks a lot! @vybhav72954 @HarshCasper @Siddhant-K-code it was a great first experience! Looking forward!