BeautifulSoupEasyWay

How to use

Keep this file your project folder or palce it in python root directory


imports needed

prettify -> from bs import prettify
scrap_text -> from bs import scrap_text
href_links -> from bs import href_links
get_all_text -> from bs import get_all_text

* prettify(url)

pass a url and all the html syntax will be prettified for you, no need to convert it to soup object itsalready taken care of


* scrap_text(url, tag, classIdentity=False, className=False)

pass the needed parameters in the scrapText object and it will take care of everything for you, will return in list


* href_links(url, tag='a', classIdentity=False, className=False)

pass the url to get links ,will return in list

* get_all_text(url)

pass url to it and it will get all the text from the page for you

PLEASE HELP US TO GROW