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.0.tar.gz
(6.0 kB
view details)
Built Distribution
wccls-3.1.0-py3-none-any.whl
(6.3 kB
view details)
File details
Details for the file wccls-3.1.0.tar.gz
.
File metadata
- Download URL: wccls-3.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a31049ef9af57cde740b72d34fdacb85ae6e357e021a6c1c95b2525f879df798 |
|
MD5 | 709a4763e90ed025e09ab9a0d845f4b1 |
|
BLAKE2b-256 | 51f18549454fdf6c224f22d61383c4ca16c2d738123fbe6d0d82538dcc5e042c |
File details
Details for the file wccls-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: wccls-3.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.1 Darwin/21.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 966cd68ee3f0c782456d2a0b64e94bbd805efac6bbf3429624010465663110c7 |
|
MD5 | 51a4b6cbd65b7177147c12cbf49913ff |
|
BLAKE2b-256 | a272b154cfe471ef1afe99552c3d4ad2ae49658489f2e8d561c54754d6f15015 |