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 tweepy
Code Challenge 40 – Daily Python Tip Part 1 – Make a Web App – Review
By PyBites Team on 1 November 2017
In this article we review last week’s Daily Python Tip Part 1 – Make a Web App code challenge.
Code Challenge 40 – Daily Python Tip Part 1 – Make a Web App
By PyBites Team on 24 October 2017
Hi Pythonistas, you heard of Daily Python Tip? It’s a Twitter account that posts one python tip per day, run by @karlafej and @simecek. We partnered up with them and use their awesome collection of tips to build a web app (part 1) and a simple API (part 2).
Parsing Twitter Geo Data and Mocking API Calls by Example
By Bob Belderbos on 17 June 2017
“Is this Bob or Julian?!” … yeah tweeting from our shared @pybites Twitter account can be confusing! So I made a little script to parse the location of our tweets. Then I extended it to make it testable. I wrote a decorator to cache a couple of API outputs to be used with the unittest.mock patch decorator I learned about. A simple script turned into a good learning exercise.
How we Automated our 100DaysOfCode Daily Tweet
By Bob Belderbos on 5 April 2017
In this article I show you a way to automatically tweet your #100DaysOfCode Challenge progress. This saves you some extra time to focus on the coding. Isn’t that all what matters?
Automate Tweeting: how to build a Twitterbot
By Bob Belderbos on 29 December 2016
In this post I will show you how we automate part of our Twitter posting using feedparser and tweepy.