r/ScriptSwap • u/deathbybandaid • Sep 09 '15
Pdf Scraper
Request: I collect lego sets, and I'd like to build a tool to "scrape" all of the free instruction manuals that Lego provides at:
http://service.lego.com/en-us/buildinginstructions
Is this possible?
7
Upvotes
View all comments
Show parent comment
3
u/SikhGamer Sep 24 '15
So I have not completely automated this yet, purely because you already have 65GB+ downloaded.
So for now, if you run "LegoFileInformation.py" it will download set number, set name, and the file name of the PDF.
That way you can re-organise quicker.
I've also improved the original script so it'll write the download links per year - which matches up with the new script. They both output by year now.
Download here.
You will need to install Python 3.5.0 for the new script to work.