logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: f991dd2bfb5a76685007a696815a080a60dc75dd
parent 35c2dd48d9c61015627b00c2081b953fdea03f43
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 10 Jun 2019 14:58:37 +0100

[biqle] add support for new embed domain

Diffstat:

Myoutube_dl/extractor/biqle.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/biqle.py b/youtube_dl/extractor/biqle.py @@ -42,7 +42,7 @@ class BIQLEIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) embed_url = self._proto_relative_url(self._search_regex( - r'<iframe.+?src="((?:https?:)?//daxab\.com/[^"]+)".*?></iframe>', + r'<iframe.+?src="((?:https?:)?//(?:(?:daxab\.com|dxb\.to|[^/]+/player)/)[^"]+)".*?></iframe>', webpage, 'embed url')) if VKIE.suitable(embed_url): return self.url_result(embed_url, VKIE.ie_key(), video_id)