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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b0646f09b4b045cb8dd31b6b7eeaf8ce06ce5048df4eef9fd763aa9d1f50949 |
|
MD5 | 9c228a0cf547fa6f7bff8d0b0f2b744e |
|
BLAKE2b-256 | 0f450fd591dbdaedc95625577aaa73396ffd4063ac3e8e6d43c02bf1b15b555e |
Close
Hashes for cbs_hist_downloader-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ffc654a0e52f17fb75425cc18629f49c4337630caf4a995860ea2040e8aa62 |
|
MD5 | 192acd0c982b5b885d2632f8a89aec58 |
|
BLAKE2b-256 | 17562da3b704fc762e5a55cb78f4d509b191181431b6425f118143f04226098d |