aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/sbs.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-04-01 18:06:11 +0100
committerremitamine <remitamine@gmail.com>2016-04-01 18:07:17 +0100
commit79ba9140dc8fcf5883b7473596e8f20cba6b479f (patch)
tree831bd230fd7299b08a586a9eccbf415da24b56a8 /youtube_dl/extractor/sbs.py
parent75d572e9fb8d3e26e4ab45e65cd5e23c6b1c6915 (diff)
[theplatform] extract timestamp and uploader
Diffstat (limited to 'youtube_dl/extractor/sbs.py')
-rw-r--r--youtube_dl/extractor/sbs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/youtube_dl/extractor/sbs.py b/youtube_dl/extractor/sbs.py
index 2f96477ca..96472fbc4 100644
--- a/youtube_dl/extractor/sbs.py
+++ b/youtube_dl/extractor/sbs.py
@@ -24,6 +24,9 @@ class SBSIE(InfoExtractor):
'description': 'md5:f250a9856fca50d22dec0b5b8015f8a5',
'thumbnail': 're:http://.*\.jpg',
'duration': 308,
+ 'timestamp': 1408613220,
+ 'upload_date': '20140821',
+ 'uploader': 'SBSC',
},
}, {
'url': 'http://www.sbs.com.au/ondemand/video/320403011771/Dingo-Conservation-The-Feed',
@@ -57,6 +60,7 @@ class SBSIE(InfoExtractor):
return {
'_type': 'url_transparent',
+ 'ie_key': 'ThePlatform',
'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}),
}