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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wccls-4.0.1.tar.gz.
File metadata
- Download URL: wccls-4.0.1.tar.gz
- Upload date:
- Size: 453.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cacdb46b51de4db1410de22a3b2be4f07e34caca7d433b265c55d8bd96d412d7
|
|
| MD5 |
002949611ed5ad412e41374e23134332
|
|
| BLAKE2b-256 |
14a375c5a026904d5c415cbaf0c33d6c6efa1bf2c5dcc2c049b949dffcba3580
|
File details
Details for the file wccls-4.0.1-py3-none-any.whl.
File metadata
- Download URL: wccls-4.0.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cbf4a363f2a145d148afeead4e64c1631a95b58d5f58404dedf5b83f9bdf34b
|
|
| MD5 |
18d11880a0471fc93538566830e65f23
|
|
| BLAKE2b-256 |
622e391cac8de89a0b0a87c345f329e7012a6888578488d3ea1308ce3fac0c76
|