mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-01 02:37:25 +01:00
[hearthisat] Correct error message
This commit is contained in:
parent
bb6e38787d
commit
7932de6352
@ -75,7 +75,7 @@ class HearThisAtIE(InfoExtractor):
|
|||||||
formats = []
|
formats = []
|
||||||
mp3_url = self._search_regex(
|
mp3_url = self._search_regex(
|
||||||
r'(?s)<a class="player-link"\s+(?:[a-zA-Z0-9_:-]+="[^"]+"\s+)*?data-mp3="([^"]+)"',
|
r'(?s)<a class="player-link"\s+(?:[a-zA-Z0-9_:-]+="[^"]+"\s+)*?data-mp3="([^"]+)"',
|
||||||
webpage, 'title', fatal=False)
|
webpage, 'mp3 URL', fatal=False)
|
||||||
if mp3_url:
|
if mp3_url:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': 'mp3',
|
'format_id': 'mp3',
|
||||||
|
Loading…
Reference in New Issue
Block a user