Monday, April 25, 2016

Python: Using request and beautifulsoup to download images off the web

While playing around with request and beatifulsoup, I wrote this little sample application that will download comics off Dilbert site to local harddrive by asking user for number of days or number of cartoons needed, it will then download most recent cartoon off Dilbert site and go back n-number of times to download required number of images.

I uploaded the code to the github with comments that should made the code pretty self explanatory. If you have any questions, let me know!

Code: https://github.com/krinkere/DilbertCartoonDownloader

No comments:

Post a Comment