convert links from html page to json format in python
convert links from html page to json format in python Question: I have an HTML page and I want to get the links from this page and then convert them into JSON format. This is the link to searchpage Here is what I have tried. class HtmltoJsonParser(HTMLParser): def __init__(self,raise_exception = True): HTMLParser.__init__(self) #self.reset() self.doc = …