diff options
author | Sergey M․ <dstftw@gmail.com> | 2021-01-15 14:43:52 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2021-01-15 14:43:52 +0700 |
commit | b484097b01e4f864c7a4369fc6fd071f756802af (patch) | |
tree | b450642b1d524a9518844c72256ed56ababa1bee | |
parent | ab9001dab50db90f6470fcaf2189bcd2cfc0c370 (diff) |
[youporn] Fix extraction (closes #27822)
-rw-r--r-- | youtube_dl/extractor/youporn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py index 7b9feafeb..a1f0cce2c 100644 --- a/youtube_dl/extractor/youporn.py +++ b/youtube_dl/extractor/youporn.py @@ -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: |