From 50fc59968e0c4c1255bac753383c503e45125b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Fri, 2 May 2014 02:26:07 +0700 Subject: [PATCH] [ntv] Simplify --- youtube_dl/extractor/ntv.py | 46 +++++++++++++++---------------------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/youtube_dl/extractor/ntv.py b/youtube_dl/extractor/ntv.py index dfbcb792c..733ed6c26 100644 --- a/youtube_dl/extractor/ntv.py +++ b/youtube_dl/extractor/ntv.py @@ -24,9 +24,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 +38,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 +52,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 +66,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 +80,25 @@ class NTVIE(InfoExtractor): 'duration': 2590, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, ] _VIDEO_ID_REGEXES = [ r'