Functions required by the hirmeos-google-books-driver
Project description
Load csv reports from google books. There are two options:
Option 1: Input the google credentials and download the report csv requested within a date range, it will return a string holding the csv report content.
Option 2: Process a csv uploaded by the user with the option of checking the expected headers.
Note: If the option 1 is required it’s recommended to use the option 2 afterwards to convert the result (string representation of the csv report) to a list of dict.
Troubleshooting
First of all if the scraping with Selenium is needed, we have to create a google account only for the purpose of this driver. Such account has to have a recovery email account to allow the Selenium download the report freely.
It is very important to check the output the first time the driver is run as it is very likely that Google will block the ‘suspicious’ login attempt. If it does, you will need to login with the same credentials you have provided the driver with and review the security settings, Google will ask if you were prevented from logging in and you must confirm so. Afterwards re-run the driver and it should work just fine.
The alternative to the scraping is uploading the report manually to bypass the scraping functionality as it could be unreliable because of the frontend and/or backend changes from google.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hirmeos_google_books-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f2f9349f9eef2faa378b0a4a0309230a5ea2f50fc22b5903a3f7d7cf866eed |
|
MD5 | 6863af825cf5734f0c6f777e413b5c52 |
|
BLAKE2b-256 | 46e936ac0b31c212add28030534f4ef14da2e719ca68d82a9c5d2ee3b89c9758 |
Hashes for hirmeos_google_books-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5540a5408a784e33b7c33fad174e30d05c6a2c4b13ed2f1f56a9a92c4b93421 |
|
MD5 | 81747b6f3046028c138f04ef50ead322 |
|
BLAKE2b-256 | 46da722f5eac72a111e0c5158878ff0bd69a522f618e36de09302b6d85e5c3bd |