mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-09 01:24:53 +00:00
[extractor/bitchute] Improve BitChuteChannelIE
(#5066)
Authored by: flashdagger, pukkandan
This commit is contained in:
@@ -418,6 +418,8 @@ def get_elements_text_and_html_by_attribute(attribute, value, html, *, tag=r'[\w
|
||||
Return the text (content) and the html (whole) of the tag with the specified
|
||||
attribute in the passed HTML document
|
||||
"""
|
||||
if not value:
|
||||
return
|
||||
|
||||
quote = '' if re.match(r'''[\s"'`=<>]''', value) else '?'
|
||||
|
||||
|
Reference in New Issue
Block a user