Wikipedia Scraper
Create an instance of the PyScrappy library to interact
with the class WikipediaScrapper
Helps in scrapping data from Wikipedia
1. Paragraph2. Header3. Text
#
Typeclass
#
NoteCreate an object of this class to procced further.
#
Exampleobj = PyScrappy.WikipediaScrapper()
#
Wikipediapara_scrapper()
#Helps in scraping paragraphs from Wikipedia.
#
Parametersword
: Enter the desired keyword
Type: str#
NoteMake sure that the information of the desired word is available in Wikipedia.
#
Exampleobj = PyScrappy.WikipediaScrapper()obj.para_scrapper('any_keyword')
header_scrapper()
#Helps in scraping headers from Wikipedia.
#
Parametersword
: Enter the desired keyword
Type: str#
NoteMake sure that the information of the desired word is available in Wikipedia.
#
Exampleobj = PyScrappy.WikipediaScrapper()obj.header_scrapper('any_keyword')
header_scrapper()
#Helps in scraping text from Wikipedia.
#
Parametersword
: Enter the desired keyword
Type: str#
NoteMake sure that the information of the desired word is available in Wikipedia.
#
Exampleobj = PyScrappy.WikipediaScrapper()obj.text_scrapper('any_keyword')