Skip to main content

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

The latest version is 0.0.3. If you have already installed the package, please update it using the following command:

pip install 8a-scraper --upgrade

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 the version of ChromeDriver install matches your current version of Google Chrome. You can check your current version of Google Chrome by opening Chrome and checking the 'About Google Chrome' panel. Ensure that the chromedriver executable is in your $PATH variable as well.

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 with their current login info:

_8A_USERNAME='<8a email>'
_8A_PASSWORD='<8a password>'

These variables are accessed using os.getenv(). These can be set in the .bash_profile file on MacOS or by 'Editing the system environmental variables' on Windows.

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

Release files for 8a-scraper 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for 8a-scraper 0.0.4
File Size Uploaded
8a_scraper-0.0.4.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for 8a-scraper 0.0.4
File Interpreter ABI Platform
8a_scraper-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 11.4 kB

Release files / 8a_scraper-0.0.4.tar.gz

Download URL 8a_scraper-0.0.4.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bb12cd9e5bceb950286630c5ee4bd5e630f53d56da18c6c2178366d2f5df06bf
BLAKE2b-256 checksum
How to use checksums
31f93eb2cb795bc2fe4ace3301b3d62e48ccc2e3086cdedf1496e6e9024767e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6

Release files / 8a_scraper-0.0.4-py3-none-any.whl

Download URL 8a_scraper-0.0.4-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdfed9531c3753af7b38301a63ad0ce9d10d2b9f83d5213529d8f02fdefc23b9
BLAKE2b-256 checksum
How to use checksums
63ca2699cf4c20f79c8bbd396c80f64e0cc0806c727d8235b45762cb7bffb50b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page