Answers for "how to scrape data from a html page saved locally"

0

how to scrape data from a html page saved locally

from bs4 import BeautifulSoup
import html5lib
myFile=open('C:/Users/CSE/AppData/Local/atom/app-1.42.0/practise.html','r')
soup=BeautifulSoup(myFile,"html5lib")
print(soup.prettify())
Posted by: Guest on October-07-2020

Code answers related to "how to scrape data from a html page saved locally"

Python Answers by Framework

Browse Popular Code Answers by Language