aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-03-05 01:51:27 +0600
committerSergey M․ <dstftw@gmail.com>2016-03-05 01:51:27 +0600
commit002c75524854033f02d03fa854a45d0fcd3ac74c (patch)
tree6bfef2cda9af6040dd8a016af53bb06bbd540ff2
parentd627cec60849d313ad7d39204ef7f59f695b6bca (diff)
[youporn] Fix sources regex
-rw-r--r--youtube_dl/extractor/youporn.py2
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)