X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fntv.py;h=ed60314eca4f918392da7fe2637e47ed3cdf5ee9;hb=746c67d72f760f2805dbc125e5a3863aa0d569e3;hp=29e8f7a04ec8eb63efa3041698123718ffb81181;hpb=263f4b514b9b90a217152d2ef8fbf5b884b41b5a;p=youtube-dl diff --git a/youtube_dl/extractor/ntv.py b/youtube_dl/extractor/ntv.py index 29e8f7a04..ed60314ec 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 ( - RegexNotFoundError, 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,23 +51,23 @@ class NTVIE(InfoExtractor): 'duration': 1496, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/kino/Koma_film', 'info_dict': { - 'id': '750783', + 'id': '758100', 'ext': 'flv', - 'title': 'Остросюжетный фильм «Кома» — 4 апреля вечером на НТВ', - 'description': 'Остросюжетный фильм «Кома» — 4 апреля вечером на НТВ', - 'duration': 28, + 'title': 'Остросюжетный фильм «Кома»', + 'description': 'Остросюжетный фильм «Кома»', + 'duration': 5592, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, { 'url': 'http://www.ntv.ru/serial/Delo_vrachey/m31760/o233916/', @@ -80,34 +79,25 @@ class NTVIE(InfoExtractor): 'duration': 2590, }, 'params': { - # rtmp download - 'skip_download': True, - }, + # rtmp download + 'skip_download': True, + }, }, ] _VIDEO_ID_REGEXES = [ r'