projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c2dd4
)
[biqle] add support for new embed domain
author
Remita Amine
<remitamine@gmail.com>
Mon, 10 Jun 2019 13:58:37 +0000
(14:58 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 10 Jun 2019 13:58:37 +0000
(14:58 +0100)
youtube_dl/extractor/biqle.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/biqle.py
b/youtube_dl/extractor/biqle.py
index 3707dc97fe2ed9053106b8e37c71c8bca18d96d5..c5c3748451b22a7445da6cee75fb8e4528a3fc09 100644
(file)
--- 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)