Today's topic is .replace(), .strip() and findAll() *****Learn everyday to grow everyday***** This three are very useful function for beginners and for web scrapers while they are scraping a webpage. .strip() .strip() is used to remove white space from the start and end of the string. ## .rstrip() and .lstrip() .rstrip() is used … Continue reading .strip() , .replace() and findAll()
Tag: BeautifulSoup
WEB SCRAPING(scrap h1 tag from list of urls)
For detailed explanation and code click here - https://github.com/theone9807/Webscraping-scrap-h1-tag-from-list-of-urls- #made a web scrapper which scrapped H1 from a page . #And it is able to scrap from a list of urls and save it in a data frame. In [1]: import pandas as pd df = pd.read_excel('test.xlsx', sheetname=0) # can also index sheet by name … Continue reading WEB SCRAPING(scrap h1 tag from list of urls)
