mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 08:47:41 +00:00
[youporn] Fix extraction (closes #27822)
This commit is contained in:
parent
ab9001dab5
commit
b484097b01
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class YouPornIE(InfoExtractor):
|
|||
# Main source
|
||||
definitions = self._parse_json(
|
||||
self._search_regex(
|
||||
r'mediaDefinition\s*=\s*(\[.+?\]);', webpage,
|
||||
r'mediaDefinition\s*[=:]\s*(\[.+?\])\s*[;,]', webpage,
|
||||
'media definitions', default='[]'),
|
||||
video_id, fatal=False)
|
||||
if definitions:
|
||||
|
|
Loading…
Reference in a new issue