aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/tv2.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-01-31 03:42:34 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-01-31 04:58:10 +0800
commited1a390583f7adfcf38c4af5432b4b2e611004ab (patch)
tree843993d592a94bfd66f14874e70ea86e4889bab6 /youtube_dl/extractor/tv2.py
parent809e1857c5155fb41d033b3c0215708eb41ddb55 (diff)
downloadyoutube-dl-ed1a390583f7adfcf38c4af5432b4b2e611004ab.zip
youtube-dl-ed1a390583f7adfcf38c4af5432b4b2e611004ab.tar.gz
youtube-dl-ed1a390583f7adfcf38c4af5432b4b2e611004ab.tar.bz2
[tv2] Fix test_TV2
Diffstat (limited to 'youtube_dl/extractor/tv2.py')
-rw-r--r--youtube_dl/extractor/tv2.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/youtube_dl/extractor/tv2.py b/youtube_dl/extractor/tv2.py
index fa338b9..1457e52 100644
--- a/youtube_dl/extractor/tv2.py
+++ b/youtube_dl/extractor/tv2.py
@@ -17,18 +17,21 @@ class TV2IE(InfoExtractor):
_VALID_URL = 'http://(?:www\.)?tv2\.no/v/(?P<id>\d+)'
_TEST = {
'url': 'http://www.tv2.no/v/916509/',
- 'md5': '9cb9e3410b18b515d71892f27856e9b1',
'info_dict': {
'id': '916509',
- 'ext': 'flv',
- 'title': 'Se Gryttens hyllest av Steven Gerrard',
+ 'ext': 'mp4',
+ 'title': 'Se Frode Gryttens hyllest av Steven Gerrard',
'description': 'TV 2 Sportens huspoet tar avskjed med Liverpools kaptein Steven Gerrard.',
'timestamp': 1431715610,
'upload_date': '20150515',
'duration': 156.967,
'view_count': int,
'categories': list,
- }
+ },
+ 'params': {
+ # m3u8 download
+ 'skip_download': True,
+ },
}
def _real_extract(self, url):