~tieong/nathan-scraper

Short script to download book from the nathan.fr site into a pdf according to a book title passed in a environment variable.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~tieong/nathan-scraper
read/write
git@git.sr.ht:~tieong/nathan-scraper

You can also use your local clone with git send-email.

#Nathan Scraper

This was done at a friend request.

Short script to download book from the nathan.fr site into a pdf according to a book title passed in a environment variable.

This was necessary because on this site you can't even get a pdf copy of the book you bought, you just get the book in a crappy javascript viewer.

#Installation

This project requires the geckodriver https://github.com/mozilla/geckodriver/releases and python bindings for selenium

#Usage

You need to pass your credentials

export NATHAN_USERNAME=<username>
export NATHAN_PASSWORD=<password>

Then pass the name of the book you want to retrieve

export NATHAN_BOOK=<book title>