Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Automatically downloading pictures & combining them into an eBook

You can download a file easily by doing this:

Code
import urllib
urllib.urlretrieve ("http://www.example.com/songs/mp3.mp3", "mp3.mp3")
(in python 3 I think it's urllib2)

you can make this into a for loop to download a bunch of images and then name them accordingly
Code
for x in range(100):
    urllib.urlretrieve ("http://www.example.com/page"+str(x)+".jpg", str(x)+".jpg")
To make them a PDF I would just find some jpg to pdf utility, probably easier
This article just came out that might interest you: http://pbpython.com/pdf-reports.html


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by 0u1lawJul 9, 2020 12:48 PM 11 223 Jul 9, 2020 12:48 PM
Last Post: 0u1law
[C#] by Gt403cylJun 12, 2017 11:12 AM 2 157 Jun 12, 2017 11:12 AM
Last Post: Owl
[Shell] by ๖ۣۜSolaceFeb 17, 2016 02:32 PM 1 104 Feb 17, 2016 02:32 PM
Last Post: Pseudonym