Skip to main content

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_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

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

cbs-hist-downloader-1.0.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

cbs_hist_downloader-1.0.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file cbs-hist-downloader-1.0.2.tar.gz.

File metadata

  • Download URL: cbs-hist-downloader-1.0.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for cbs-hist-downloader-1.0.2.tar.gz
Algorithm Hash digest
SHA256 18fa066c937a8061d0f0777fdda3c5890a5d8d81577752572782cc07ea24cf37
MD5 fb0b4c7421513b7f8f993087dc0bdcd4
BLAKE2b-256 89f2653a8a33c2264adf0af138335afb1d608e33e49671e7140d247049dd0a8c

See more details on using hashes here.

File details

Details for the file cbs_hist_downloader-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cbs_hist_downloader-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7006dc933ebd37baa6e1020d3c0b01130ff91dbd46a83e555d80395b2d2ff2a8
MD5 6c3ea9841957fa7fd6361341980247c3
BLAKE2b-256 602b8d4d83ff102029bc4247f16c71d726ad016a0f29ef3f87eaa6d6a39bd488

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page