A Python client for scraping data from 8a.nu
Project description
8a_scraper
8a is a great resource to aggregate statistics on sportclimbers and boulderers. They recently deployed a new version of their website that rendered all the prior scrapers obsolete.
This tool allows 8a users to scrape content from the website using their username, password, Selenium, and BeautifulSoup.
Installing
Via pip
Install using the following command:
pip install 8a-scraper
Via GitHub
Alternatively, you can just clone this repo and import the libraries at your own discretion.
Usage
To install the package,
This package requires the user to also install Google Chrome and ChromeDriver. Please ensure that both of the executables are in your $PATH
variable.
The user must also have an email and password that can be used to log into 8a
Additionally, the user must set the following environment variables:
_8A_USERNAME='<8a email>'
_8A_PASSWORD='<8a password>'
These variables are accessed using os.getenv()
.
API
Currently, the package only contains 2 modules: users and ascents. The package will be expanding to include other content as well, but this is a start.
For more information, about the API please refer to the full documentation
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
File details
Details for the file 8a_scraper-0.0.2.tar.gz
.
File metadata
- Download URL: 8a_scraper-0.0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29ba9da297fb6cb6f42562cdc5e4c1a58d1a62af7981f1df3ae38cf098ed910c |
|
MD5 | a1dfda7e488b4a8e7a5421cc009db000 |
|
BLAKE2b-256 | ad033998c2808844dc83ff056ed8024afc41c16e833733ef2f7c8827d5a648ce |
File details
Details for the file 8a_scraper-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: 8a_scraper-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d309d2aae4ac0292dab08703a12f7f0c5847f61aa717c86611e737807b0812b |
|
MD5 | 6d834d3309518988598a5154679e5788 |
|
BLAKE2b-256 | 49742560d0b802f658d19c38250f181bb3eec8177ebdfcff166eff8319c63f1e |