Test rtmpdump on travis (Fixes #1601)

pull/3000/head
Philipp Hagemeister 2015-01-25 04:56:32 +01:00
parent 881e6a1f5c
commit e1ccc04e9f
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,9 @@ python:
- "2.7" - "2.7"
- "3.3" - "3.3"
- "3.4" - "3.4"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -yqq rtmpdump
script: nosetests test --verbose script: nosetests test --verbose
notifications: notifications:
email: email:

View File

@ -16,6 +16,7 @@ class FolketingetIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?ft\.dk/webtv/video/[^?#]*?\.(?P<id>[0-9]+)\.aspx' _VALID_URL = r'https?://(?:www\.)?ft\.dk/webtv/video/[^?#]*?\.(?P<id>[0-9]+)\.aspx'
_TEST = { _TEST = {
'url': 'http://www.ft.dk/webtv/video/20141/eru/td.1165642.aspx?as=1#player', 'url': 'http://www.ft.dk/webtv/video/20141/eru/td.1165642.aspx?as=1#player',
'md5': '6269e8626fa1a891bf5369b386ae996a',
'info_dict': { 'info_dict': {
'id': '1165642', 'id': '1165642',
'ext': 'mp4', 'ext': 'mp4',
@ -29,9 +30,6 @@ class FolketingetIE(InfoExtractor):
'upload_date': '20141120', 'upload_date': '20141120',
'duration': 3960, 'duration': 3960,
}, },
'params': {
'skip_download': 'rtmpdump required',
}
} }
def _real_extract(self, url): def _real_extract(self, url):