- Install Chrome Extensions:
- Create the download script:
- Log in to Learning Oreilly and use the
Get Cookies.txt Extensionto download the current cookie with all the browser and login information. - Use
WebScrapBook Extension, menu entryBatch capture selected linksto create a list of websites to download and copy them to the download scriptdl.sh. Do not forget to download theindex.htmlpage. Only directory needed not theindex.htmlfile itself. - Run the download script:
$bash dl.sh - When loading the
index.htmlfile from the local storage system you can remove some useless DOM elements from the webpage by right-clicking and selecting the Tampermonkey entry.
- Tampermonkey
- Tampermonkey is in the repository for reference and can be loaded into the extension.
Tampermonkey->Dashboard-> Click+to create the script. - In the Tampermonkey advanced settings you have to enable local file access:
Settings->Security->Allow scripts to allow local files->All local files-> PressSavebutton.