[youporn] Fix sources regex

master
Sergey M․ 2016-03-05 01:51:27 +06:00
parent d627cec608
commit 002c755248
1 changed files with 1 additions and 1 deletions

View File

@ -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)