mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-09 01:24:53 +00:00
[cleanup] Lint and misc cleanup
This commit is contained in:
@@ -480,6 +480,7 @@ class HTMLBreakOnClosingTagParser(html.parser.HTMLParser):
|
||||
raise self.HTMLBreakOnClosingTagException()
|
||||
|
||||
|
||||
# XXX: This should be far less strict
|
||||
def get_element_text_and_html_by_tag(tag, html):
|
||||
"""
|
||||
For the first element with the specified tag in the passed HTML document
|
||||
|
Reference in New Issue
Block a user