projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e91cdca
)
[youtube] Remove useless u prefixes
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 26 Nov 2014 11:41:53 +0000
(12:41 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 26 Nov 2014 11:41:53 +0000
(12:41 +0100)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 4ebc7b7129e0a5d2f04a6a3a01f32018df75b502..115fc6840f996c5401d8ed229b721ea432c56977 100644
(file)
--- a/
youtube_dl/extractor/youtube.py
+++ b/
youtube_dl/extractor/youtube.py
@@
-609,9
+609,9
@@
class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
return {}
player_config = json.loads(mobj.group(1))
try:
- args = player_config[
u
'args']
- caption_url = args[
u
'ttsurl']
- timestamp = args[
u
'timestamp']
+ args = player_config['args']
+ caption_url = args['ttsurl']
+ timestamp = args['timestamp']
# We get the available subtitles
list_params = compat_urllib_parse.urlencode({
'type': 'list',