diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-20 03:18:54 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-20 03:18:54 +0800 |
commit | 8fff4f61e5741e56890ccb108f42b0c7dc6607e8 (patch) | |
tree | eda7fb6e2a5089f92c9fd093b64f2b18b58f4e9b | |
parent | 10defdd06a1ea878087f5bad6ee99da3b2f9d3f6 (diff) |
[letv] Use single quotes
-rw-r--r-- | youtube_dl/extractor/letv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/letv.py b/youtube_dl/extractor/letv.py index d43b4e808..be6c75967 100644 --- a/youtube_dl/extractor/letv.py +++ b/youtube_dl/extractor/letv.py @@ -278,14 +278,14 @@ class LetvCloudIE(InfoExtractor): play_json_req = sanitized_Request( 'http://api.letvcloud.com/gpc.php?cf=html5&sign=signxxxxx&ver=2.2&format=json&' + - "uu=" + uu + "&vu=" + vu) + 'uu=' + uu + '&vu=' + vu) play_json = self._download_json(play_json_req, media_id, 'Downloading playJson data') formats = [] for media in play_json['data']['video_info']['media'].values(): play_url = media['play_url'] formats.append({ - 'url': base64.b64decode(play_url['main_url'].encode('utf-8')).decode("utf-8"), + 'url': base64.b64decode(play_url['main_url'].encode('utf-8')).decode('utf-8'), 'ext': 'mp4', 'format_id': int_or_none(play_url.get('vtype')), 'format_note': str_or_none(play_url.get('definition')), |