[hgtv.com:show] Fix typo
authorSergey M․ <dstftw@gmail.com>
Thu, 22 Jun 2017 19:54:12 +0000 (02:54 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 22 Jun 2017 19:54:12 +0000 (02:54 +0700)
youtube_dl/extractor/hgtv.py

index 4d4b068245f75c397774aee74600a84be57d02d3..a4f3325650d491d14e3cf817c8a0892d2b53c975 100644 (file)
@@ -28,7 +28,7 @@ class HGTVComShowIE(InfoExtractor):
 
         config = self._parse_json(
             self._search_regex(
-                r'(?s)data-(?:deferred)?-module=["\']video["\'][^>]*>.*?<script[^>]+type=["\']text/x-config["\'][^>]*>(.+?)</script',
+                r'(?s)data-(?:deferred-)?module=["\']video["\'][^>]*>.*?<script[^>]+type=["\']text/x-config["\'][^>]*>(.+?)</script',
                 webpage, 'video config'),
             display_id)['channels'][0]