From 50cdbbaf9ccccf44cef2f4c57815d13a71b5699a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 20 Nov 2024 11:41:29 +0200 Subject: [PATCH] Add new url format to duoplay - https://duoplay.ee/9644?ep=184 --- yt_dlp/extractor/duoplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/duoplay.py b/yt_dlp/extractor/duoplay.py index 18642fea3..4559c2d1c 100644 --- a/yt_dlp/extractor/duoplay.py +++ b/yt_dlp/extractor/duoplay.py @@ -13,7 +13,8 @@ from ..utils.traversal import traverse_obj class DuoplayIE(InfoExtractor): - _VALID_URL = r'https?://duoplay\.ee/(?P\d+)/[\w-]+/?(?:\?(?:[^#]+&)?ep=(?P\d+))?' + # https://duoplay.ee/9644?ep=185 + _VALID_URL = r'https?://duoplay\.ee/(?P\d+)(?:/[\w-]+/?(?:\?(?:[^#]+&))?ep=(?P\d+))?' _TESTS = [{ 'note': 'Siberi võmm S02E12', 'url': 'https://duoplay.ee/4312/siberi-vomm?ep=24',