mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-07 09:23:38 +00:00
fix: code style
This commit is contained in:
parent
a2ed14747b
commit
bca2ca9852
@ -1512,7 +1512,10 @@ from .phoenix import PhoenixIE
|
||||
from .photobucket import PhotobucketIE
|
||||
from .pialive import PiaLiveIE
|
||||
from .piapro import PiaproIE
|
||||
from .piaulizaportal import PIAULIZAPortalAPIIE, PIAULIZAPortalIE
|
||||
from .piaulizaportal import (
|
||||
PIAULIZAPortalAPIIE,
|
||||
PIAULIZAPortalIE,
|
||||
)
|
||||
from .picarto import (
|
||||
PicartoIE,
|
||||
PicartoVodIE,
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
from .common import InfoExtractor
|
||||
from ..utils import extract_attributes, multipart_encode, traverse_obj, url_or_none
|
||||
from ..utils import extract_attributes, multipart_encode, url_or_none
|
||||
from ..utils.traversal import traverse_obj
|
||||
|
||||
|
||||
class PiaLiveIE(InfoExtractor):
|
||||
@ -88,9 +89,9 @@ class PiaLiveIE(InfoExtractor):
|
||||
yield from traverse_obj(self._search_json(
|
||||
r'var\s+_history\s*=', comment_page, 'comment list',
|
||||
video_id, contains_pattern=r'\[(?s:.+)\]', fatal=False), (..., {
|
||||
'timestamp': (0),
|
||||
'timestamp': 0,
|
||||
'author_is_uploader': (1, {lambda x: x == 2}),
|
||||
'author': (2),
|
||||
'text': (3),
|
||||
'id': (4),
|
||||
'author': 2,
|
||||
'text': 3,
|
||||
'id': 4,
|
||||
}))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user