A friend asked me for a way to download all the PDFs from a page, and I made this simple script with Python and Mechanize. It's very straightforward... It does hack the user agent, which is not nice. So use at your discretion.
Category Archive: python
A python snippet on capturing from a v4l2 camera into OpenCV
A python snippet for saving OpenCV FileStorage-compatible YAML files
I'm a fan of Last.fm online radio, and I have a habit of marking every good song that I hear as a "loved track". Over the years I got quite a list, and so I decided to turn it into my jogging playlist. But for that, I need all the songs downloaded to my computer …
Hi I believe that every builder-hacker should have their own little Swiss-army-knife server that just does everything they need, but as a webservice. You can basically do anything as a service nowadays: image/audio/video manipulation, mock-cloud data storage, offload heavy computation, and so on. Tornado, the lightweight Python webserver is perfect for this, and since so …