[extractor/iwara] Accept old URLs

Authored by: Lesmiscore

Closes #6669
This commit is contained in:
Lesmiscore 2023-03-29 15:28:29 +09:00
parent 0f0875ed55
commit ab92d8651c
No known key found for this signature in database
GPG Key ID: 0EC2B52CF86236FF

View File

@ -15,7 +15,7 @@ from ..utils import (
class IwaraIE(InfoExtractor):
IE_NAME = 'iwara'
_VALID_URL = r'https?://(?:www\.)?iwara\.tv/video/(?P<id>[a-zA-Z0-9]+)'
_VALID_URL = r'https?://(?:www\.|ecchi\.)?iwara\.tv/videos?/(?P<id>[a-zA-Z0-9]+)'
_TESTS = [{
# this video cannot be played because of migration
'only_matching': True,