From 2ac8ea5e181372fd8344c1cf8d8c655e4e667b0a Mon Sep 17 00:00:00 2001 From: Parmjit Virk Date: Thu, 8 Jun 2017 17:59:23 -0500 Subject: [PATCH] [DrTuber] Fetch video URL from JSON stream (fixes issue #12058) --- youtube_dl/extractor/drtuber.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/drtuber.py b/youtube_dl/extractor/drtuber.py index 1eca82b3b..98b0962df 100644 --- a/youtube_dl/extractor/drtuber.py +++ b/youtube_dl/extractor/drtuber.py @@ -44,8 +44,15 @@ class DrTuberIE(InfoExtractor): webpage = self._download_webpage( 'http://www.drtuber.com/video/%s' % video_id, display_id) - video_url = self._html_search_regex( - r']*><(?:p|h\d+)[^>]*>([^<]+)<',