mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
Merge pull request #9492 from jwilk/teamcoco
[teamcoco] Fix base64 regexp
This commit is contained in:
commit
a834622b89
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ def _real_extract(self, url):
|
||||||
preload_codes = self._html_search_regex(
|
preload_codes = self._html_search_regex(
|
||||||
r'(function.+)setTimeout\(function\(\)\{playlist',
|
r'(function.+)setTimeout\(function\(\)\{playlist',
|
||||||
webpage, 'preload codes')
|
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')
|
base64_fragments.remove('init')
|
||||||
|
|
||||||
def _check_sequence(cur_fragments):
|
def _check_sequence(cur_fragments):
|
||||||
|
|
Loading…
Reference in a new issue