Awesome-Python-Scripts/SimpleWebpageParser
2018-10-10 01:06:59 +05:30
..
__init__.py Added a Simple Webpage Parser 2018-10-10 01:06:59 +05:30
README.md Added a Simple Webpage Parser 2018-10-10 01:06:59 +05:30
SimpleWebpageParser.py Added a Simple Webpage Parser 2018-10-10 01:06:59 +05:30
webpage_parser.py Added a Simple Webpage Parser 2018-10-10 01:06:59 +05:30

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 extracting of html from web url logic and gives user a clean code to work with.

Libraries Required

  1. requests $pip install requests
  2. 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.