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.0.0.tar.gz
(6.0 kB
view details)
Built Distribution
wccls-3.0.0-py3-none-any.whl
(6.2 kB
view details)
File details
Details for the file wccls-3.0.0.tar.gz
.
File metadata
- Download URL: wccls-3.0.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 826aa144a2b7ac6d3b329a5fa5ce4e7797df6340fc9aac6f941e092e65af6de1 |
|
MD5 | 4eb42cef59ee4946be767819e96fc940 |
|
BLAKE2b-256 | 9a1185ab5db876a1b008f9fd25f02bf8ab537cabc825c9f82cff7edbf588e79f |
File details
Details for the file wccls-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: wccls-3.0.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.1 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8380a7251efbf588c040ebbc8f840997a2aebf53ace1393a7281df402db1877 |
|
MD5 | 39d0ff9adbb906d4fc508f9359f057c7 |
|
BLAKE2b-256 | 49630e46f78fb605a8ece14df624e303c500b2e36f7e7bd4965c7987e2572d83 |