diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-03-05 01:51:27 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-03-05 01:51:27 +0600 |
commit | 002c75524854033f02d03fa854a45d0fcd3ac74c (patch) | |
tree | 6bfef2cda9af6040dd8a016af53bb06bbd540ff2 /youtube_dl/extractor | |
parent | d627cec60849d313ad7d39204ef7f59f695b6bca (diff) |
[youporn] Fix sources regex
Diffstat (limited to 'youtube_dl/extractor')
-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 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) |