Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scrape #data #html #page #saved #locally
ADD COMMENT
Topic
Name
6+8 =