Jump to content

Jellofishi

Eurobricks New Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Jellofishi

  1. could you send me an example link to that ? I'm using https://www.lego.com/en-us/service/buildinginstructions and that's not what I'm getting.
  2. That's ok. No. the difference is no clicks (because it's all keyboard). but other than that: * creating the folders. * naming the downloaded files correctly (because the lego side does not name them a meaningful name) and navigating to the correct folder each time. * clicking each file when there may be 2-10 pdfs in each search result. * finding the correct search result if there are multiple results for the set number because it may be 4 number and there are 5 number results * do this for around 50 sets. took me less time and was more interesting writing the script. I abhor repetitive manual labour :) Each with the method they prefer. p.s. Bonus points for the LEGO site having a JSON api on that search page.
  3. Recently decided to recycle all the paper that the lego instructions I have came on. Wanted to download all the digital instructions for the sets I have from the lego site. Me being lazy and a software developer (and having accumulated quite a bit of LEGO recently) I went the code path. This python script will read set numbers from a text file (sets.txt, newline separated) and download the relevant instructions into a folder per set number, with the instruction description as the filename (as opposed to the random number supplied by the download link) This is an assistant script and should not be used to simple mirror all the instructions on the LEGO site just for giggles. There is an intentional 2 second wait between downloads as to not hammer the website. Supports downloading manuals from: * Official LEGO site (https://www.lego.com/en-us/service/buildinginstructions) - lego_download.py * Let's build it again (https://letsbuilditagain.com/index.php) - lego_lets_build_it_again.py * http://bricks.argz.com - lego_briks_argz.py Written and tested using python 3 on osx. Again: please do not abuse these scripts. Enjoy. https://github.com/Jellofishi/lego_instructions
×
×
  • Create New...