projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[youtube] Add support for invidiou.sh (#20309)
[youtube-dl]
/
youtube_dl
/
extractor
/
sbs.py
diff --git
a/youtube_dl/extractor/sbs.py
b/youtube_dl/extractor/sbs.py
index 2f96477ca9f9cef7e684dfec1c3ff7fe5ac4fecf..845712a7640afe9f675757c2f711830c9c79a00f 100644
(file)
--- a/
youtube_dl/extractor/sbs.py
+++ b/
youtube_dl/extractor/sbs.py
@@
-1,4
+1,4
@@
-#
-*- coding: utf-8 -*-
+#
coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from __future__ import unicode_literals
from .common import InfoExtractor
@@
-22,8
+22,11
@@
class SBSIE(InfoExtractor):
'ext': 'mp4',
'title': 'Dingo Conservation (The Feed)',
'description': 'md5:f250a9856fca50d22dec0b5b8015f8a5',
'ext': 'mp4',
'title': 'Dingo Conservation (The Feed)',
'description': 'md5:f250a9856fca50d22dec0b5b8015f8a5',
- 'thumbnail': 're:http://.*\.jpg',
+ 'thumbnail':
r
're:http://.*\.jpg',
'duration': 308,
'duration': 308,
+ 'timestamp': 1408613220,
+ 'upload_date': '20140821',
+ 'uploader': 'SBSC',
},
}, {
'url': 'http://www.sbs.com.au/ondemand/video/320403011771/Dingo-Conservation-The-Feed',
},
}, {
'url': 'http://www.sbs.com.au/ondemand/video/320403011771/Dingo-Conservation-The-Feed',
@@
-57,6
+60,7
@@
class SBSIE(InfoExtractor):
return {
'_type': 'url_transparent',
return {
'_type': 'url_transparent',
+ 'ie_key': 'ThePlatform',
'id': video_id,
'id': video_id,
- 'url': smuggle_url(
theplatform_url
, {'force_smil_url': True}),
+ 'url': smuggle_url(
self._proto_relative_url(theplatform_url)
, {'force_smil_url': True}),
}
}