aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/viddler.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/viddler.py')
-rw-r--r--yt_dlp/extractor/viddler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yt_dlp/extractor/viddler.py b/yt_dlp/extractor/viddler.py
index f491b67ef..d81a31375 100644
--- a/yt_dlp/extractor/viddler.py
+++ b/yt_dlp/extractor/viddler.py
@@ -7,6 +7,8 @@ from ..utils import (
class ViddlerIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?viddler\.com/(?:v|embed|player)/(?P<id>[a-z0-9]+)(?:.+?\bsecret=(\d+))?'
+ _EMBED_REGEX = [r'<(?:iframe[^>]+?src|param[^>]+?value)=(["\'])(?P<url>(?:https?:)?//(?:www\.)?viddler\.com/(?:embed|player)/.+?)\1']
+
_TESTS = [{
'url': 'http://www.viddler.com/v/43903784',
'md5': '9eee21161d2c7f5b39690c3e325fab2f',