diff options
| author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-02-01 17:10:11 +0800 | 
|---|---|---|
| committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-02-01 17:10:11 +0800 | 
| commit | abe694ca95fe3344db6b3ebcf483911203fcdc3f (patch) | |
| tree | e14309bbebc050c927e3c8ae46df6424b5a22ae9 | |
| parent | b286f201a8424e00cc91d27adcf53a5249b8a3b9 (diff) | |
[kickstarter] Eliminate the warning message and add_ie
| -rw-r--r-- | youtube_dl/extractor/kickstarter.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/youtube_dl/extractor/kickstarter.py b/youtube_dl/extractor/kickstarter.py index 1d391e69f..e703fc597 100644 --- a/youtube_dl/extractor/kickstarter.py +++ b/youtube_dl/extractor/kickstarter.py @@ -2,6 +2,7 @@  from __future__ import unicode_literals  from .common import InfoExtractor +from ..utils import smuggle_url  class KickStarterIE(InfoExtractor): @@ -27,7 +28,8 @@ class KickStarterIE(InfoExtractor):              'uploader_id': 'pebble',              'uploader': 'Pebble Technology',              'title': 'Pebble iOS Notifications', -        } +        }, +        'add_ie': ['Vimeo'],      }, {          'url': 'https://www.kickstarter.com/projects/1420158244/power-drive-2000/widget/video.html',          'info_dict': { @@ -52,7 +54,7 @@ class KickStarterIE(InfoExtractor):              return {                  '_type': 'url_transparent',                  'ie_key': 'Generic', -                'url': url, +                'url': smuggle_url(url, {'to_generic': True}),                  'title': title,              } | 
