]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[biqle] add support for new embed domain
authorRemita Amine <remitamine@gmail.com>
Mon, 10 Jun 2019 13:58:37 +0000 (14:58 +0100)
committerRemita Amine <remitamine@gmail.com>
Mon, 10 Jun 2019 13:58:37 +0000 (14:58 +0100)
youtube_dl/extractor/biqle.py

index 3707dc97fe2ed9053106b8e37c71c8bca18d96d5..c5c3748451b22a7445da6cee75fb8e4528a3fc09 100644 (file)
@@ -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)