aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorNaglis Jonaitis <njonaitis@gmail.com>2014-11-15 16:56:04 +0200
committerNaglis Jonaitis <njonaitis@gmail.com>2014-11-15 16:56:04 +0200
commit8caa0c97799dda29fff7d0b0e717e09beee851d3 (patch)
tree267fa6415141f7ec3e3b2eff70b58be1b7cf67d5 /youtube_dl
parente2548b5b25da17f5931db1be9a7bddfcb4bab0b6 (diff)
[bliptv] Fix the resolve of lookup ID (Closes #4197)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bliptv.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/bliptv.py b/youtube_dl/extractor/bliptv.py
index 57d17bea3..2370c24b0 100644
--- a/youtube_dl/extractor/bliptv.py
+++ b/youtube_dl/extractor/bliptv.py
@@ -71,11 +71,12 @@ class BlipTVIE(SubtitlesInfoExtractor):
mobj = re.match(self._VALID_URL, url)
lookup_id = mobj.group('lookup_id')
- # See https://github.com/rg3/youtube-dl/issues/857
+ # See https://github.com/rg3/youtube-dl/issues/857 and
+ # https://github.com/rg3/youtube-dl/issues/4197
if lookup_id:
info_page = self._download_webpage(
'http://blip.tv/play/%s.x?p=1' % lookup_id, lookup_id, 'Resolving lookup id')
- video_id = self._search_regex(r'data-episode-id="([0-9]+)', info_page, 'video_id')
+ video_id = self._search_regex(r'config\.id\s*=\s*"([0-9]+)', info_page, 'video_id')
else:
video_id = mobj.group('id')