Browse Source

Test rtmpdump on travis (Fixes #1601)

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
e1ccc04e9f
2 changed files with 4 additions and 3 deletions
  1. +3
    -0
      .travis.yml
  2. +1
    -3
      youtube_dl/extractor/folketinget.py

+ 3
- 0
.travis.yml View File

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


+ 1
- 3
youtube_dl/extractor/folketinget.py View File

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


Loading…
Cancel
Save