Scraper for the WCCLS account page
Project description
Overview
This is a read-only scraper for the WCCLS account page. It also works for the Multnomah County Bibliocommons site
Usage
from wccls import Wccls, WcclsAsync
items = Wccls(login=card_number_or_username, password=password)
for item in items:
print(item)
items = await WcclsAsync(login=card_number_or_username, password=password)
for item in items:
print(item)
Running tests
To record new test data (also test against live website)
Set SCRUB_EMAIL, WCCLS_CARD_NUMBER, WCCLS_PASSWORD environment variables
Make a new directory tests/filesets/new_fileset
pytest --collect=save -k new_fileset
And check the new output.json against reality
To test existing test data
pytest
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
wccls-3.1.5.tar.gz
(843.4 kB
view details)
Built Distribution
wccls-3.1.5-py3-none-any.whl
(6.5 kB
view details)
File details
Details for the file wccls-3.1.5.tar.gz
.
File metadata
- Download URL: wccls-3.1.5.tar.gz
- Upload date:
- Size: 843.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c988becf09a3a37da76180dc8c8f6164f47cdba23f61b2de3d04db13f01e10a |
|
MD5 | 9817f34cbbf7cfe1bd8dd78686981ff6 |
|
BLAKE2b-256 | 96ecfa2a5887c16b647dd972e670885c63e3980f6e80f85317bc79c33d30031c |
File details
Details for the file wccls-3.1.5-py3-none-any.whl
.
File metadata
- Download URL: wccls-3.1.5-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6e8846e5c3cddd250546c6d4352e204f45c9432cf37778c939f1a9cd6347ccf |
|
MD5 | d9fa6047eac610be6a2aed94a2cb9dcb |
|
BLAKE2b-256 | 8c2501111d4960b096deaedacc0920bc46170c281d8022c37631a8d86e168ca2 |