mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 02:32:44 +01:00
Test rtmpdump on travis (Fixes #1601)
This commit is contained in:
parent
881e6a1f5c
commit
e1ccc04e9f
@ -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:
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user