diff options
author | remitamine <remitamine@gmail.com> | 2016-04-01 18:06:11 +0100 |
---|---|---|
committer | remitamine <remitamine@gmail.com> | 2016-04-01 18:07:17 +0100 |
commit | 79ba9140dc8fcf5883b7473596e8f20cba6b479f (patch) | |
tree | 831bd230fd7299b08a586a9eccbf415da24b56a8 /youtube_dl/extractor/sbs.py | |
parent | 75d572e9fb8d3e26e4ab45e65cd5e23c6b1c6915 (diff) |
[theplatform] extract timestamp and uploader
Diffstat (limited to 'youtube_dl/extractor/sbs.py')
-rw-r--r-- | youtube_dl/extractor/sbs.py | 6 |
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}), } |