Esempio n. 1
0
 def extract_oembeds_html(self,
                          text,
                          maxwidth=None,
                          maxheight=None,
                          resource_type=None):
     parser = html_parser()
     urls = parser.extract_urls(text)
     return self.handle_extracted_urls(urls, maxwidth, maxheight,
                                       resource_type)
Esempio n. 2
0
 def extract_oembeds_html(self, text, maxwidth=None, maxheight=None, resource_type=None):
     parser = html_parser()
     urls = parser.extract_urls(text)
     return self.handle_extracted_urls(urls, maxwidth, maxheight, resource_type)
Esempio n. 3
0
 def parse_html(self, text, *args, **kwargs):
     parser = html_parser()
     return parser.parse(text, *args, **kwargs)
Esempio n. 4
0
 def parse_html(self, text, *args, **kwargs):
     parser = html_parser()
     return parser.parse(text, *args, **kwargs)