mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-27 14:01:09 +00:00
.. | ||
__init__.py | ||
README.md | ||
SimpleWebpageParser.py | ||
webpage_parser.py |
Simple Webpage Parser
A simple wrapper around the popular web scraper library BeautifulSoap. It merges the use of Requests and BeautifulSoap library in one class which abstracts the process of extraction of html from webpage's url and gives user a clean code to work with.
Libraries Required
- requests
$pip install requests
- beautifulsoup4
$pip install beautifulsoup4
Usage
A sample script webpage_parser.py
has been provided to show the usage of the SimpleWebpageParser. It prints all the links from the Hacktoberfest's home page.