X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fyouporn.py;h=1124fe6c280cb0e23bee3a41ea323165ec714dce;hb=2beeb286e179a00bc0c76fc55ca5c8d19e74ca41;hp=567a8c5e60019787a95b5e15342d24c7ee1b2b36;hpb=d627cec60849d313ad7d39204ef7f59f695b6bca;p=youtube-dl.git diff --git a/youtube_dl/extractor/youporn.py b/youtube_dl/extractor/youporn.py index 567a8c5e6..1124fe6c2 100644 --- a/youtube_dl/extractor/youporn.py +++ b/youtube_dl/extractor/youporn.py @@ -75,7 +75,7 @@ class YouPornIE(InfoExtractor): links = [] sources = self._search_regex( - r'sources\s*:\s*({.+?})', webpage, 'sources', default=None) + r'(?s)sources\s*:\s*({.+?})', webpage, 'sources', default=None) if sources: for _, link in re.findall(r'[^:]+\s*:\s*(["\'])(http.+?)\1', sources): links.append(link)