Yeongho Kim commited on
Commit
26b53a0
·
1 Parent(s): df6fcb3

Fix broken caption feature which during refactoring

Browse files
Files changed (1) hide show
  1. pytube/__main__.py +0 -1
pytube/__main__.py CHANGED
@@ -197,7 +197,6 @@ class YouTube(object):
197
  # https://github.com/nficano/pytube/issues/167
198
  caption_tracks = (
199
  self.player_config_args
200
- .get('args', {})
201
  .get('player_response', {})
202
  .get('captions', {})
203
  .get('playerCaptionsTracklistRenderer', {})
 
197
  # https://github.com/nficano/pytube/issues/167
198
  caption_tracks = (
199
  self.player_config_args
 
200
  .get('player_response', {})
201
  .get('captions', {})
202
  .get('playerCaptionsTracklistRenderer', {})