A python program for downloading images from CBS historisch.
Project description
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_historisch_downloader
After installation, in a python environment, you start off with the first URL of the book/volume you want to download:
import cbs_historisch_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
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for cbs_hist_downloader-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c51d55950c75b3bb75f6d98050a9ba5b7942f75c5123cac8bf833022e0d8913d |
|
MD5 | 1c35384f1beba9a57b699d18556a835d |
|
BLAKE2b-256 | 2d183c6fb56b85fff09e733dd2417a4358300fdcdde764deaf3ff396eca8d1a3 |
Close
Hashes for cbs_hist_downloader-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 438524b630973f5ae2ed9312d45292cab800d1b1594f4c9ad2d2c3a5896452cf |
|
MD5 | 4a0aaa6244ba0ee4014c57f65f48597b |
|
BLAKE2b-256 | dded95fb2f9a6322ea24cb61fc6f6fed231ed204492d8a2d0bfcf053f38bf1c3 |