Skip to main content

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


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)

Uploaded Source

Built Distribution

smaxpy-0.1.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page