mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-08 09:53:43 +00:00
[ie/uliza] Fix naming
Authored by: bashonly
This commit is contained in:
parent
5c9dd891bd
commit
cdd530c94a
@ -1522,10 +1522,6 @@ from .phoenix import PhoenixIE
|
||||
from .photobucket import PhotobucketIE
|
||||
from .pialive import PiaLiveIE
|
||||
from .piapro import PiaproIE
|
||||
from .piaulizaportal import (
|
||||
PIAULIZAPortalAPIIE,
|
||||
PIAULIZAPortalIE,
|
||||
)
|
||||
from .picarto import (
|
||||
PicartoIE,
|
||||
PicartoVodIE,
|
||||
@ -2254,6 +2250,10 @@ from .ufctv import (
|
||||
)
|
||||
from .ukcolumn import UkColumnIE
|
||||
from .uktvplay import UKTVPlayIE
|
||||
from .uliza import (
|
||||
UlizaPlayerIE,
|
||||
UlizaPortalIE,
|
||||
)
|
||||
from .umg import UMGDeIE
|
||||
from .unistra import UnistraIE
|
||||
from .unity import UnityIE
|
||||
|
||||
@ -3,7 +3,7 @@ from ..utils import ExtractorError, int_or_none, parse_qs, time_seconds
|
||||
from ..utils.traversal import traverse_obj
|
||||
|
||||
|
||||
class PIAULIZAPortalAPIIE(InfoExtractor):
|
||||
class UlizaPlayerIE(InfoExtractor):
|
||||
_VALID_URL = r'https://player-api\.p\.uliza\.jp/v1/players/[^?#]+\?(?:[^#]*&)?name=(?P<id>[^#&]+)'
|
||||
_TESTS = [
|
||||
{
|
||||
@ -59,8 +59,8 @@ class PIAULIZAPortalAPIIE(InfoExtractor):
|
||||
}
|
||||
|
||||
|
||||
class PIAULIZAPortalIE(InfoExtractor):
|
||||
IE_DESC = 'ulizaportal.jp - PIA LIVE STREAM'
|
||||
class UlizaPortalIE(InfoExtractor):
|
||||
IE_DESC = 'ulizaportal.jp'
|
||||
_VALID_URL = r'https?://(?:www\.)?ulizaportal\.jp/pages/(?P<id>[\da-f]{8}-(?:[\da-f]{4}-){3}[\da-f]{12})'
|
||||
_TESTS = [{
|
||||
'url': 'https://ulizaportal.jp/pages/005f18b7-e810-5618-cb82-0987c5755d44',
|
||||
@ -101,5 +101,5 @@ class PIAULIZAPortalIE(InfoExtractor):
|
||||
r'<script [^>]*\bsrc="(https://player-api\.p\.uliza\.jp/v1/players/[^"]+)"',
|
||||
webpage, 'player data url')
|
||||
return self.url_result(
|
||||
player_data_url, PIAULIZAPortalAPIIE, url_transparent=True,
|
||||
player_data_url, UlizaPlayerIE, url_transparent=True,
|
||||
display_id=video_id, video_title=self._html_extract_title(webpage))
|
||||
Loading…
x
Reference in New Issue
Block a user