This commit is contained in:
voidptr_t 2024-08-04 19:26:38 +03:00
parent 81059046e4
commit 605741fbe8
2 changed files with 7 additions and 6 deletions

View file

@ -1541,6 +1541,7 @@
PluralsightIE, PluralsightIE,
) )
from .plutotv import PlutoTVIE from .plutotv import PlutoTVIE
from .plvideo import PlVideoVideoIE
from .podbayfm import ( from .podbayfm import (
PodbayFMChannelIE, PodbayFMChannelIE,
PodbayFMIE, PodbayFMIE,
@ -1601,7 +1602,6 @@
) )
from .puls4 import Puls4IE from .puls4 import Puls4IE
from .pyvideo import PyvideoIE from .pyvideo import PyvideoIE
from .plvideo import PlVideoVideoIE
from .qdance import QDanceIE from .qdance import QDanceIE
from .qingting import QingTingIE from .qingting import QingTingIE
from .qqmusic import ( from .qqmusic import (

View file

@ -1,4 +1,5 @@
from yt_dlp.extractor.common import InfoExtractor from .common import InfoExtractor
class PlVideoVideoIE(InfoExtractor): class PlVideoVideoIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?plvideo\.ru/watch\?v=(?P<id>\w+)&?(.+)?' # type: ignore _VALID_URL = r'https?://(?:www\.)?plvideo\.ru/watch\?v=(?P<id>\w+)&?(.+)?' # type: ignore
@ -9,8 +10,8 @@ class PlVideoVideoIE(InfoExtractor):
'id': 'lYmu2gcUKOa9', 'id': 'lYmu2gcUKOa9',
'ext': 'mp4', 'ext': 'mp4',
'title': 'test', 'title': 'test',
} },
} },
] ]
def _real_extract(self, url): def _real_extract(self, url):