Skip to content

ootiq/smax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple wrapper to requests and beautifulsoup

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors