nficano commited on
Commit
9b23455
·
unverified ·
2 Parent(s): df6fcb3 26b53a0

Merge pull request #199 from yeonghoey/master

Browse files

Fix broken caption feature which during refactoring

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', {})