浏览代码

[hgtv.com:show] Fix typo

Sergey M․ 8 年之前
父节点
当前提交
ac7409eec5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/hgtv.py

+ 1 - 1
youtube_dl/extractor/hgtv.py

@@ -28,7 +28,7 @@ class HGTVComShowIE(InfoExtractor):
 
 
         config = self._parse_json(
         config = self._parse_json(
             self._search_regex(
             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'),
                 webpage, 'video config'),
             display_id)['channels'][0]
             display_id)['channels'][0]