Update indavideo.py with a valid regex to embed URL

This commit is contained in:
Tibor Kanyo 2017-05-27 20:23:43 +02:00 committed by GitHub
parent 03327bc9a6
commit b226540afa

View File

@ -133,7 +133,7 @@ class IndavideoIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
embed_url = self._search_regex(
r'<link[^>]+rel="video_src"[^>]+href="(.+?)"', webpage, 'embed url')
r'<div[^>]+id="player".*><iframe[^>]+src="(.+?)"', webpage, 'embed url')
return {
'_type': 'url_transparent',