Closed s2t2 closed 2 years ago
Add to notes about beautiful soup package, a section about parsing a local HTML file (the current example is for live-requested files:
with open('index.html', 'r') as f: contents = f.read() soup = BeautifulSoup(contents, 'lxml')
Add to notes about beautiful soup package, a section about parsing a local HTML file (the current example is for live-requested files: