mkohlhaas / Safari-Books-Sample

Example how to download books from Learning Oreilly with standard tools.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Install Chrome Extensions:
  1. Create the download script:
  • Log in to Learning Oreilly and use the Get Cookies.txt Extension to download the current cookie with all the browser and login information.
  • Use WebScrapBook Extension, menu entry Batch capture selected links to create a list of websites to download and copy them to the download script dl.sh. Do not forget to download the index.html page. Only directory needed not the index.html file itself.
  • Run the download script: $bash dl.sh
  • When loading the index.html file from the local storage system you can remove some useless DOM elements from the webpage by right-clicking and selecting the Tampermonkey entry.
  1. 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 -> Press Save button.

About

Example how to download books from Learning Oreilly with standard tools.


Languages

Language:HTML 99.9%Language:Shell 0.1%Language:CSS 0.0%Language:JavaScript 0.0%