1
0
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:
Philipp Hagemeister 2015-01-22 18:15:04 +01:00
parent bb6e38787d
commit 7932de6352

View File

@ -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',