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
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.4.tar.gz
(5.7 kB
view details)
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
wccls-3.1.4-py3-none-any.whl
(6.4 kB
view details)
File details
Details for the file wccls-3.1.4.tar.gz.
File metadata
- Download URL: wccls-3.1.4.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1614e5435bd83ef2e213338c01c3ef33bbaf1bb0cfc87a577a83295d680d515d
|
|
| MD5 |
fa43993829948bad507df85ec1990c7b
|
|
| BLAKE2b-256 |
013742ea5a74a6b9bacc71318efa48ffb9f38ee5dff56d73169d9c977ec09388
|
File details
Details for the file wccls-3.1.4-py3-none-any.whl.
File metadata
- Download URL: wccls-3.1.4-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.11.0 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fbe3cb9e73f1cb79b0992cde53d23aaf59661d0f53ed20d19de7727a92a81d7
|
|
| MD5 |
fdb1a421fc6fe8c08dbdccc8b74677da
|
|
| BLAKE2b-256 |
c5a6e39afc93c5453f15491508d729a484771a9bea8aec0348ec29920353cc52
|