[youporn] Fix extraction (closes #27822)

pull/27835/head
Sergey M․ 4 years ago
parent ab9001dab5
commit b484097b01
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -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…
Cancel
Save