From 605741fbe882c205fb9aba7e347e09c6a17a3c49 Mon Sep 17 00:00:00 2001 From: voidptr_t Date: Sun, 4 Aug 2024 19:26:38 +0300 Subject: [PATCH] fmt --- yt_dlp/extractor/_extractors.py | 2 +- yt_dlp/extractor/plvideo.py | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/yt_dlp/extractor/_extractors.py b/yt_dlp/extractor/_extractors.py index 19ba298310..6ebe0be51b 100644 --- a/yt_dlp/extractor/_extractors.py +++ b/yt_dlp/extractor/_extractors.py @@ -1541,6 +1541,7 @@ PluralsightIE, ) from .plutotv import PlutoTVIE +from .plvideo import PlVideoVideoIE from .podbayfm import ( PodbayFMChannelIE, PodbayFMIE, @@ -1601,7 +1602,6 @@ ) from .puls4 import Puls4IE from .pyvideo import PyvideoIE -from .plvideo import PlVideoVideoIE from .qdance import QDanceIE from .qingting import QingTingIE from .qqmusic import ( diff --git a/yt_dlp/extractor/plvideo.py b/yt_dlp/extractor/plvideo.py index 999dfeb228..30f8db6acb 100644 --- a/yt_dlp/extractor/plvideo.py +++ b/yt_dlp/extractor/plvideo.py @@ -1,7 +1,8 @@ -from yt_dlp.extractor.common import InfoExtractor +from .common import InfoExtractor + class PlVideoVideoIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?plvideo\.ru/watch\?v=(?P\w+)&?(.+)?' # type: ignore + _VALID_URL = r'https?://(?:www\.)?plvideo\.ru/watch\?v=(?P\w+)&?(.+)?' # type: ignore _TESTS = [ { 'url': 'https://plvideo.ru/watch?v=lYmu2gcUKOa9', @@ -9,8 +10,8 @@ class PlVideoVideoIE(InfoExtractor): 'id': 'lYmu2gcUKOa9', 'ext': 'mp4', 'title': 'test', - } - } + }, + }, ] def _real_extract(self, url): @@ -44,4 +45,4 @@ def _real_extract(self, url): 'id': video_id, 'title': item.get('title'), 'formats': formats, - } \ No newline at end of file + }