0
0
Fork 0

[pbs] Improve player regex (Closes #7059)

main
Sergey M․ 2015-10-04 21:13:13 +06:00
parent 9c544e2537
commit 0659dfccfe
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class PBSIE(InfoExtractor):
return media_id, presumptive_id, upload_date return media_id, presumptive_id, upload_date
url = self._search_regex( url = self._search_regex(
r'<iframe\s+[^>]*\s+src=["\']([^\'"]+partnerplayer[^\'"]+)["\']', r'(?s)<iframe[^>]+?(?:[a-z-]+?=["\'].+?["\'][^>]+?)*?\bsrc=["\']([^\'"]+partnerplayer[^\'"]+)["\']',
webpage, 'player URL') webpage, 'player URL')
mobj = re.match(self._VALID_URL, url) mobj = re.match(self._VALID_URL, url)