Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed Mar 25, 2021
1 parent 85a0454 commit b5c7589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/bbc.py
Expand Up @@ -568,7 +568,7 @@ def _real_extract(self, url):
redux_state = self._parse_json(self._html_search_regex(
r'<script\b[^>]+id=(["\'])tvip-script-app-store\1[^>]*>[^<]*_REDUX_STATE__\s*=\s*(?P<json>[^<]+)\s*;\s*<',
webpage, 'redux state', default='{}', group='json'), group_id, fatal=False)
episode = redux_state.get('episode',{})
episode = redux_state.get('episode', {})
if episode.get('id') == group_id:
# try to match the version against the page's version
current_version = episode.get('currentVersion')
Expand Down

0 comments on commit b5c7589

Please sign in to comment.