Add new url format to duoplay

- https://duoplay.ee/9644?ep=184
This commit is contained in:
Elan Ruusamäe 2024-11-20 11:41:29 +02:00
parent f919729538
commit 50cdbbaf9c

View file

@ -13,7 +13,8 @@
class DuoplayIE(InfoExtractor):
_VALID_URL = r'https?://duoplay\.ee/(?P<id>\d+)/[\w-]+/?(?:\?(?:[^#]+&)?ep=(?P<ep>\d+))?'
# https://duoplay.ee/9644?ep=185
_VALID_URL = r'https?://duoplay\.ee/(?P<id>\d+)(?:/[\w-]+/?(?:\?(?:[^#]+&))?ep=(?P<ep>\d+))?'
_TESTS = [{
'note': 'Siberi võmm S02E12',
'url': 'https://duoplay.ee/4312/siberi-vomm?ep=24',