aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/picarto.py
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-04-06 03:37:17 +0800
committerJesús <heckyel@hyperbola.info>2022-04-06 03:37:17 +0800
commit1e5a50b71d8f0eae6007bedc329eecb24bb5aba3 (patch)
treea8611cda6596391cb6fb645e1469dcd356b63924 /hypervideo_dl/extractor/picarto.py
parentf52fb3bceeb9d22b5106c1796fecec474a0cc138 (diff)
downloadhypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.tar.lz
hypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.tar.xz
hypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.zip
update from upstream
Diffstat (limited to 'hypervideo_dl/extractor/picarto.py')
-rw-r--r--hypervideo_dl/extractor/picarto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hypervideo_dl/extractor/picarto.py b/hypervideo_dl/extractor/picarto.py
index e6c51e1..adf21fd 100644
--- a/hypervideo_dl/extractor/picarto.py
+++ b/hypervideo_dl/extractor/picarto.py
@@ -77,7 +77,7 @@ class PicartoIE(InfoExtractor):
return {
'id': channel_id,
- 'title': self._live_title(title.strip()),
+ 'title': title.strip(),
'is_live': True,
'channel': channel_id,
'channel_id': metadata.get('id'),
@@ -111,7 +111,7 @@ class PicartoVodIE(InfoExtractor):
vod_info = self._parse_json(
self._search_regex(
r'(?s)#vod-player["\']\s*,\s*(\{.+?\})\s*\)', webpage,
- video_id),
+ 'vod player'),
video_id, transform_source=js_to_json)
formats = self._extract_m3u8_formats(