-
-
Save altendky/73184ab44ae32a6e66c2a80b0127bffd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lxml import etree | |
import lxml.html.soupparser as soupparser | |
#import lxml.html.soupparser | |
import sys | |
#from bs4 import BeautifulSoup | |
#BeautifulSoup(lxml.html, 'html.parser') | |
htmlfile = open("index.html", "r") | |
soup = soupparser.parse(htmlfile, features='lxml.html.soupparser') | |
sys.exit(0) | |
htmlfile.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment