Just a small wrapper to website scraping utilities.
Project description
smax
Just a small wrapper to website scraping utilities.
It just wraps around requests
, bs4
and cloudscraper
.
Install
pip3 install smaxpy
Usage
from smaxpy import Smax
a = Smax("https://www.google.com")
print(a.title)
All functions from bs4 are inherited now by Smax
, so you can use functions such as find()
, find_all()
directly.
Using the BeautifulSoup's functions
from smaxpy import Smax
a = Smax("https://www.google.com")
print(a.find("title").text) # similar to `a.title`
© 2021 TheBoringDude
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
smaxpy-0.1.0.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file smaxpy-0.1.0.tar.gz
.
File metadata
- Download URL: smaxpy-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811c356405c2a483b650fb4ec3762e0459c806e9bc19f703eb0dd7b04c459d54 |
|
MD5 | 92350e51aae892b88425bd65a7d46d33 |
|
BLAKE2b-256 | bac6f08984f6a9815eb8ddefd50ece2e95958a207ba1a90f13a94242e7ced1a3 |
File details
Details for the file smaxpy-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: smaxpy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 651d74202921e4f1c418f3cf0b699b7bb742f85411b0d86a8051bb5843ee05e3 |
|
MD5 | 8bdc0af61a4988e497266e93bbdba6be |
|
BLAKE2b-256 | 7d3480e377188a83d6fa6d7fbc869c68db427eda52de6302ee235b8f2f5e8922 |