vinitshahdeo / jobtweets

:mag: This project is about searching the twitter for job opportunities using popular hashtags and applying sentiment analysis on this. :hash: :bird:
https://vinitshahdeo.github.io/jobtweets/
MIT License
115 stars 82 forks source link

Taking query(#hashtags) as input from user #3

Open vinitshahdeo opened 4 years ago

vinitshahdeo commented 4 years ago

Currently, the query is hardcoded in jobtweets.py i.e.

tweets = api.get_tweets(query = 'Job Opportunities', count = 500)

Taking the input for query (i.e. #hashtag) from the user through CLI seems better!

Question to answer?

Can we take input as a comma-separated string for processing multiple hashtags at a time?

Enter hashtags: jobs, openings, job opportunities

Note:

agarwalrounak commented 4 years ago

Hi Vinit, I would like to take this up.

vinitshahdeo commented 4 years ago

@agarwalrounak Please go ahead!

adithya-sn commented 4 years ago

Could have probably been done in a simpler way. Here's my attempt :) https://github.com/vinitshahdeo/jobtweets/pull/7

Aravind22 commented 4 years ago

Is this still open?

n150705 commented 4 years ago

In CLI while entering tags is there a space character after the comma symbol?

n150705 commented 4 years ago

Can I print the results of positive, negative and neutral for each of the tags?

vinitshahdeo commented 4 years ago

Yeah that would be great!

vinitshahdeo commented 4 years ago

CHECK OUT THIS LINK FOR LIVE CORONA UPDATES

Hello everyone,

I hope you are staying safe at your home and enjoying the contribution to your awesome open source projects. I've created a web app to display the latest corona updates, please check here.

:wave: DO THE FIVE: Help stop coronavirus

  1. HANDS: Wash them often
  2. ELBOW: Cough into it
  3. FACE: Don't touch it
  4. SPACE: Keep safe distance
  5. HOME: Stay if you can

COVID-19: Stay HomeStay Safe


PS: I know it's off-topic but Yes, COVID-19 everyone's talking about. Please stay safe at your home and enjoy contributing to your projects.

vinitshahdeo commented 4 years ago

Hello everyone,

Hope everyone's staying safe at home.

Do check out my latest COVID-19 😷Tracker | INDIA 🇮🇳

Checkout my open letter to all the contributors here. ❤️

COVID-19 Tracker by Vinit Shahdeo


I've just revamped the UI(WIP). You can check the old website here. Consider leaving a star here. :star:
(To be open-sourced pretty soon.)

GitHub stars - COVID-19 Vinit Shahdeo

Defcon27 commented 3 years ago

Is this still open since #13 has fixed the issue

imanishbarnwal commented 3 years ago

Hello, @vinitshahdeo I want to take this issue.

satyam-52 commented 3 years ago

Hello, @vinitshahdeo can I take this issue?

Johnkayode commented 2 years ago

Hello @vinitshahdeo #46 I updated some old methods and also implementated the CLI input feature

meghasarkar1289 commented 2 years ago

Hello, @vinitshahdeo can I take this issue?

leyohla commented 1 year ago

Hi, is this open?

Raish07 commented 1 year ago

hashtags = input("Enter hashtags (comma-separated): ") query = hashtags.replace(" ", "").split(",") tweets = api.get_tweets(query=query, count=500) hii @vinitshahdeo here i have made a new a variable inside def main() method to collect hashtags from user and then i am removing any spaces amongst them to maintain the fundamental feature of hashtags in general and then i am splitting each hashtag individually by using (',') as delimiter and storing this value in query variable and after passing this into tweets variable to get tweets on the basis of provided hashtags. Let me know if i can make any other changes regarding this