mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 03:47:27 +00:00
[youtube] Remove useless u prefixes
This commit is contained in:
parent
e91cdcae1a
commit
0792d5634e
1 changed files with 3 additions and 3 deletions
|
@ -609,9 +609,9 @@ def _get_available_automatic_caption(self, video_id, webpage):
|
||||||
return {}
|
return {}
|
||||||
player_config = json.loads(mobj.group(1))
|
player_config = json.loads(mobj.group(1))
|
||||||
try:
|
try:
|
||||||
args = player_config[u'args']
|
args = player_config['args']
|
||||||
caption_url = args[u'ttsurl']
|
caption_url = args['ttsurl']
|
||||||
timestamp = args[u'timestamp']
|
timestamp = args['timestamp']
|
||||||
# We get the available subtitles
|
# We get the available subtitles
|
||||||
list_params = compat_urllib_parse.urlencode({
|
list_params = compat_urllib_parse.urlencode({
|
||||||
'type': 'list',
|
'type': 'list',
|
||||||
|
|
Loading…
Reference in a new issue