mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
fmt
This commit is contained in:
parent
81059046e4
commit
605741fbe8
@ -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 (
|
||||
|
@ -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<id>\w+)&?(.+)?' # type: ignore
|
||||
_VALID_URL = r'https?://(?:www\.)?plvideo\.ru/watch\?v=(?P<id>\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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user