Ever wondered how you scrape hidden (or JS generated) HTML? Selenium is your friend. Ever wondered how to run it without a browser popping up? Use headless mode. How would you run it remotely? Use Heroku. And how about autoposting to Slack and Twitter? With the right libraries and API setup little code is needed. In this 10 step guide I will show you how to build a Packt Free Learning Notifier which will accomplish all these tasks. Ready to learn some nice automation skills in Python?
Articles on Slack
Code Challenge 43 – Build a Chatbot Using Python
By PyBites Team on 9 November 2017
Hi Pythonistas, it’s incredible to think how quickly bots have grown in popularity. They’re everywhere these days and will play an important role how we work and communicate in the near future! It’s about time we go our bot on as well!
Building a Karma Bot with Python and the Slack API
By Bob Belderbos on 25 June 2017
We love Slack! But what if we can make it even cooler? Imagine: you are geeking out with your fellow developers on Slack and you want to give them credit. Or you can write “stupidsubject–” and it automagically shows “stupidsubject’s karma decreased to -2”. Enter Karma Bot. This is nothing new but building one myself was a great learning exercise and a fun tool we use on our Slack now.
Code Challenge 23 – Challenge Estimated Time API
By PyBites Team on 13 June 2017
Hi Pythonistas, a new week, a new ‘bite’ of Python coding! This week we will give you the opportunity to enhance our challenge platform by creating a simple API to track how much time our challenges take (and possibly other metadata).
How to Write a Simple Slack Bot to Monitor Your Brand on Twitter
By Bob Belderbos on 25 April 2017
In this article I show you how to monitor Twitter and post alerts to a Slack channel. We built a nice tool to monitor whenever our domain gets mentioned on Twitter. The slacker and twython modules made this pretty easy. We also use configparser and logging.
Code Challenge 16 – Query Your Favorite API
By PyBites Team on 23 April 2017
Hi Pythonistas, a new week, a new ‘bite’ of Python coding! This week we’ll let you play with Web APIs. They are fun to fiddle with and great for learning and building cool things. Enjoy!
Twitter digest 2017 week 14
By PyBites Team on 9 April 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
How to Build a Simple Slack Bot
By Bob Belderbos on 4 April 2017
I was playing with Slack’s Real Time Messaging API the other day. Building a bot is pretty easy. In this article a simple example.
Simple API Part 2 – Building a Deep Work Logger with Flask, Slack and Google Docs
By Bob Belderbos on 10 March 2017
After Simple API – part 1 a more practical app in this part 2 tutorial: a Deep Work logger integrating Google docs and Slack, including deployment of the app to Heroku.