mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
Merge branch 'master' of github.com:rg3/youtube-dl
This commit is contained in:
commit
15c3adbb16
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ def _real_extract(self, url, new_video=True):
|
|||
config = json.loads(config_json)
|
||||
except RegexNotFoundError:
|
||||
# For pro videos or player.vimeo.com urls
|
||||
config = self._search_regex([r' = {config:({.+?}),assets:', r'c=({.+?);'],
|
||||
config = self._search_regex([r' = {config:({.+?}),assets:', r'(?:c|b)=({.+?});'],
|
||||
webpage, u'info section', flags=re.DOTALL)
|
||||
config = json.loads(config)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue