cbs_hist_downloader
A Python-based tool using Selenium to download books to your harddrive rather than accessing the pictures through the API at historisch.cbs.nl
Dependencies
Selenium (pip install selenium), time, os, webdriver-manager (pip install webdriver-manager)
Example how to use:
In the console:
pip install cbs_hist_downloader
After installation, in a python environment, you start off with the first URL of the book/volume you want to download:
import cbs_hist_downloader as chd
url = "https://historisch.cbs.nl/detail.php?nav_id=2-1&index=10&id=395291474"
chd.scrape_book(url)
The files will be downloaded to your Downloads folder.
Suggestions / Comments
a dot h dot machielsen at uu dot nl
Metadata
Release files for cbs-hist-downloader 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cbs-hist-downloader-1.0.2.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cbs_hist_downloader-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.4 kB
Release files / cbs-hist-downloader-1.0.2.tar.gz
| Download URL | cbs-hist-downloader-1.0.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18fa066c937a8061d0f0777fdda3c5890a5d8d81577752572782cc07ea24cf37
|
|
BLAKE2b-256 checksum How to use checksums |
89f2653a8a33c2264adf0af138335afb1d608e33e49671e7140d247049dd0a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / cbs_hist_downloader-1.0.2-py3-none-any.whl
| Download URL | cbs_hist_downloader-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7006dc933ebd37baa6e1020d3c0b01130ff91dbd46a83e555d80395b2d2ff2a8
|
|
BLAKE2b-256 checksum How to use checksums |
602b8d4d83ff102029bc4247f16c71d726ad016a0f29ef3f87eaa6d6a39bd488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|