Archives For Python

Steam price tracker/alert

March 7, 2016 by Asbra — Leave a comment

There is a GitHub repo with the source code of this project.

As someone who likes to bargain for games, I wanted a simple way to get notified of price changes to the games I’m interested in. Steam has a built-in feature that emails you when there’s a sale on items in your wishlist, but I wanted something more.

What I ended up with is a script that sends me an email notification whenever the price drops (either normal reduction or on a sale) on one of the games in my wishlist and the games I follow.

This article will serve to explain the approach which I took to create this script, if you just want to look at the final thing, head on over to my GitHub repo.

Continue Reading…

Python 4chan downloader

December 14, 2014 by Asbra — 2 Comments

A 4chan downloader/leecher I wrote while learning Python.
If you just execute it, it scrapes the catalog page of specified section, then scrapes all threads and downloads all images from them.

catalog function returns a list of all threads on the specified board
thread function returns a list of all images in specified thread id

Python is quite a nice language, very simple syntax and a lot of libraries to use. Started learning Python for a new project I’m working on, mostly to get a decent solution for multi-threaded scraping/botting.

Continue Reading…