Open daredevil82 opened 7 years ago
Thanks for the idea.
Do you know if they provide an rss feed ? A general plugin to follow RSS feeds would be more globally usable.
PS: I update your comment because the link was bugged
I agree a RSS feed would be easier, but I don't believe Packt offers such a stream, unfortunately. I am signed up for email notifications from them, but it is around a twice-monthly sort of thing.
They do have their own subreddit, but postings are somewhat inconsistent.
Email and reddit are both services I hope to integrate at one point :)
I'm not big onto scrapping but you are more than welcome if you want to give it a shot. We might need #9 first.
Yes, since this would be a scheduled task. I'd need to learn the slackbot API first, though.
Right now, this is just the idea. I'd be able to to the scraping code, but the slack integration is a big ❓❓❓ for me.
The publisher Packt has a free ebooks page that updates every 24 hours or so, and a good portion of them are related to channel topics and Python in general. We could define a list of criteria for a book to match, and plugin to check the current day's offering. If the book matches the criteria, it would then post a link in the #general channel.
An additional enhancement would be to check the Amazon API for the user review count and stars for the book and include that in the channel posting.