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
Run against the live website
-
Set the environment variables to show what the expected counts are for the various categories
-
Run
pytest
To record new test data
Set SCRUB_EMAIL, WCCLS_CARD_NUMBER, WCCLS_PASSWORD environment variables
pytest --collect=save
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.3.tar.gz
(5.9 kB
view details)
Built Distribution
wccls-3.1.3-py3-none-any.whl
(6.4 kB
view details)
File details
Details for the file wccls-3.1.3.tar.gz
.
File metadata
- Download URL: wccls-3.1.3.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.9 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b04645de6d74b214e5c976fa9de2fd4bce52d965d051cc5800ccab43cc94f6e3 |
|
MD5 | 224008946a7d689b8a034e04f7b5f71d |
|
BLAKE2b-256 | 13b3ba76b0d292b462cc30bfdb5f3c044a064710b405dc0f979b27f1e1740773 |
File details
Details for the file wccls-3.1.3-py3-none-any.whl
.
File metadata
- Download URL: wccls-3.1.3-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.10.9 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19051ea068d5e7b737cd5fbc47988e7644685774fe59c7deec41d96488338d23 |
|
MD5 | fc6e10bcd865962b5e815a4d02126e2a |
|
BLAKE2b-256 | e16ab9c1d473aa8ba21c47592926babc058e39753ba52bb5c53901571da27344 |