1. DLP Flash Christmas Competition + Writing Marathon 2024!

    Competition topic: Magical New Year!

    Marathon goal? Crank out words!

    Check the marathon thread or competition thread for details.

    Dismiss Notice
  2. Hi there, Guest

    Only registered users can really experience what DLP has to offer. Many forums are only accessible if you have an account. Why don't you register?
    Dismiss Notice
  3. Introducing for your Perusing Pleasure

    New Thread Thursday
    +
    Shit Post Sunday

    READ ME
    Dismiss Notice

HP Lexicon Offline Archive [Download]

Discussion in 'Fanfic Discussion' started by xvector, Mar 20, 2015.

  1. xvector

    xvector Second Year

    Joined:
    May 8, 2014
    Messages:
    79
    Hi, all!

    Tomorrow night, I have a plane flight. I was planning on writing more of my own fanfiction, but quickly discovered that I would not have internet. Fortunately, wget came to my rescue, and I was able to download all of HP Lexicon (bar the blogs). I'll certainly be using this while I'm on my flight tomorrow!

    One great thing about this is that pages will load instantly since it's all locally stored. Nothing will need to be pulled from the internet!

    Note: These do NOT violate any sort of copyright or licensing. Essentially, all you are doing is loading the entire website at once and storing it.


    Instant Download
    If you ever find yourself in a similar situation, I've put together a download here. (Google Drive)




    How To Use
    Extract the downloaded .zip into a folder. Simply double-click on the index-2.html file, and open it - it should open in your local browser. If not, point your browser to that file manually (e.g. put the file path into your browser's address bar).
    If a page doesn't load (404 error), try finding it in the directory manually and opening it from there. For example, if you get a 404 error when you try to load *http://www.hp-lexicon.org/wizworld/places/azkaban.html*, manually navigate to the "wizworld" folder in the download, then the "places" folder, and load azkaban.html.
    DIY: For the techies or paranoid
    Or if you want to do it yourself, the code to download everything is

    Code:
    wget --recursive --page-requisites --convert-links http://www.hp-lexicon.org/index-2.html
    to download the entire website. Warning: the entire website is 2.1 GB, but a video and the blog directory take up about 2.0 GB! This is because of the MP3 podcasts and video files dating years back. (I've excluded these in my provided download) So I recommend excluding those, since you probably won't need them.

    So a better command would be
    Code:
    wget --recursive --page-requisites --exclude-directories=/blog/,/lumos/ --convert-links http://www.hp-lexicon.org/index-2.html
    This command should work fine on Mac and most Linux distros. I'm using Windows - so you can get Cygwin (don't forget to enable wget in setup, it's disabled by default) or something lightweight, like a wget executable and just run the command from the directory the executable is in.

    x-posted from my post on Reddit (/r/HPfanfiction, /r/harrypotter).
     
    Last edited: Mar 20, 2015
  2. Skeletaure

    Skeletaure Magical Core Enthusiast ~ Prestige ~ DLP Supporter

    Joined:
    Mar 5, 2006
    Messages:
    2,839
    Location:
    United Kingdom
    High Score:
    13,152
    Alternatively... download the PDF of the HP Lexicon Encyclopaedia that was published by the court as evidence in RDR Books v Warner Brothers & JK Rowling.
     
Loading...