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 hashes)
Built Distribution
smaxpy-0.1.0-py3-none-any.whl
(4.4 kB
view hashes)