Skip to content

gbourdin/turecibo_downloader

Repository files navigation

TuRecibo Downloader

Documentation Status

Downloads documents from turecibo.com as PDF This has only been tested for Argentina.

Usage

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:

  1. Using chrome with DevTools open (F12 or Ctrl + J), log in to "turecibo.com"
  2. Open the the document you want to download
  3. Go to the network tab in DevTools and put "thumbnail" in the filters
  4. 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`
  5. From that url, you want everything after the last / and before the ?, so, this: `b72b7a6053e0212e9f6d1707041acaddb72b7a6053e0212e9f6d1707041acadd`
  6. That's your hash, now use it with the downloader
    `$ turecibo_downloader b72b7a6053e0212e9f6d1707041acaddb72b7a6053e0212e9f6d1707041acadd --pages 100 --output document.pdf`

Features

  • TODO

To Do

  • Release on pypi
  • Add support for more countries
  • Add tests, documentation, etc.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Downloads documents from turecibo.com as PDF

Resources

License

Stars

Watchers

Forks

Packages

No packages published