-
Notifications
You must be signed in to change notification settings - Fork 1
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
🚀 Feature: Scrape for specific news, like all articles on AI, or JavaScript, etc.. #4
Comments
@artknight thanks for reaching out and proposing a feature! |
So, I am running a newsletter (dailysandbox.com) that focuses on specific technologies - JS, CSS, AI, Node, Postgres, and Bash. I would love to have a script that would be able to give me an aggregate of the stories posted on HN for each of the topics. That way I could easily review the results and, possibly use it in the newsletter It would be even more awesome if I could combine keywords such as JS + AI and get only the posts that have both :) |
At a quick glance, the search on https://hackernews.com/ is actually https://hn.algolia.com/ (which is the API endpoint I'll consume for the scraper) seems to be powered by Algolia (https://www.algolia.com/developers/) and they do seem to support Boolean operators, so this should be feasible 👍 |
Yeah, I see what you mean 🤔. For now let's focus on just the OR operator. Let me think about the AND a little more. Thank you for being so responsive!! |
Sorry, there will be a slight modification to the expected input, I was planning to accept a list of search terms to hit one-by-one, so for instance ['JS', 'AI'] would mean just searching for JS, followed by just searching for AI, and as for the OR operator it would be a nested list like @artknight let me know if this works. |
Yeah, that will work. How quickly do you think you can implement it? |
I'll need at least a day (perhaps even more because I'm juggling other responsibilities at my university) |
How is it going? Did you make any headway? |
Still working on it, should be done this week |
🔖 Feature description
I would love to be able to specify what I am looking for (AI, JS, Vue, etc...) and have the script get me all the posts that are related to the particular topic
🎤 Pitch
In my use-case I would love to get the JS, Vue3 and AI news
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: