X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fntv.py;h=13c8d79cd8ac6346dbe4e9810bc8bf0b20825dcc;hb=5f6a1245ffa9276c1af59b0835afeef67e2fb5b1;hp=dfbcb792ca607c45f05d8183b0791bee8782ec80;hpb=c47d21da80c0a616410ca6c0d61d7ccfed36e943;p=youtube-dl diff --git a/youtube_dl/extractor/ntv.py b/youtube_dl/extractor/ntv.py index dfbcb792c..13c8d79cd 100644 --- a/youtube_dl/extractor/ntv.py +++ b/youtube_dl/extractor/ntv.py @@ -5,7 +5,6 @@ import re from .common import InfoExtractor from ..utils import ( - ExtractorError, unescapeHTML ) @@ -24,9 +23,9 @@ class NTVIE(InfoExtractor): 'duration': 136, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/video/novosti/750370/', @@ -38,9 +37,9 @@ class NTVIE(InfoExtractor): 'duration': 172, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/peredacha/segodnya/m23700/o232416', @@ -52,9 +51,9 @@ class NTVIE(InfoExtractor): 'duration': 1496, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/kino/Koma_film', @@ -66,9 +65,9 @@ class NTVIE(InfoExtractor): 'duration': 5592, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/serial/Delo_vrachey/m31760/o233916/', @@ -80,33 +79,25 @@ class NTVIE(InfoExtractor): 'duration': 2590, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, ] _VIDEO_ID_REGEXES = [ r'