Browse Source

[teamcoco] Fix base64 regexp

master
Jakub Wilk 8 years ago
parent
commit
791ff52f75
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/teamcoco.py

2
youtube_dl/extractor/teamcoco.py

@ -88,7 +88,7 @@ class TeamcocoIE(InfoExtractor):
preload_codes = self._html_search_regex(
r'(function.+)setTimeout\(function\(\)\{playlist',
webpage, 'preload codes')
base64_fragments = re.findall(r'"([a-zA-z0-9+/=]+)"', preload_codes)
base64_fragments = re.findall(r'"([a-zA-Z0-9+/=]+)"', preload_codes)
base64_fragments.remove('init')
def _check_sequence(cur_fragments):

Loading…
Cancel
Save