mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
[youporn] Fix extraction (closes #27822)
This commit is contained in:
parent
ab9001dab5
commit
b484097b01
@ -88,7 +88,7 @@ class YouPornIE(InfoExtractor):
|
|||||||
# Main source
|
# Main source
|
||||||
definitions = self._parse_json(
|
definitions = self._parse_json(
|
||||||
self._search_regex(
|
self._search_regex(
|
||||||
r'mediaDefinition\s*=\s*(\[.+?\]);', webpage,
|
r'mediaDefinition\s*[=:]\s*(\[.+?\])\s*[;,]', webpage,
|
||||||
'media definitions', default='[]'),
|
'media definitions', default='[]'),
|
||||||
video_id, fatal=False)
|
video_id, fatal=False)
|
||||||
if definitions:
|
if definitions:
|
||||||
|
Loading…
Reference in New Issue
Block a user