Awesome-Python-Scripts/SimpleWebpageParser
2019-10-05 21:44:59 +05:30
..
__init__.py Added a Simple Webpage Parser 2018-10-10 01:06:59 +05:30
README.md Updated README 2018-10-10 01:13:46 +05:30
requirements.txt Add script level requirements.txt 2019-10-05 21:44: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 process of extraction of html from webpage's url 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.