Downloads documents from turecibo.com as PDF This has only been tested for Argentina.
- Free software: MIT license
- Documentation: https://turecibo-downloader.readthedocs.io.
- Install:
`pip install https://github.com/gbourdin/turecibo_downloader/archive/0.1.0.tar.gz`
- Run:
`$ turecibo_downloader HASH --pages 100 --output document.pdf`
How to get the hashes:
- Using chrome with DevTools open (F12 or Ctrl + J), log in to "turecibo.com"
- Open the the document you want to download
- Go to the network tab in DevTools and put "thumbnail" in the filters
- You'll see a bunch or requests getting thumbnails for different pages, the format is similar to this
`https://api.nosconecta.com.ar/eform/thumbnail/b72b7a6053e0212e9f6d1707041acaddb72b7a6053e0212e9f6d1707041acadd?page=1`
- From that url, you want everything after the last / and before the ?, so, this:
`b72b7a6053e0212e9f6d1707041acaddb72b7a6053e0212e9f6d1707041acadd`
- That's your hash, now use it with the downloader
`$ turecibo_downloader b72b7a6053e0212e9f6d1707041acaddb72b7a6053e0212e9f6d1707041acadd --pages 100 --output document.pdf`
- TODO
- Release on pypi
- Add support for more countries
- Add tests, documentation, etc.
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.