1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 06:35:12 +00:00

[extractor/weverse] Add extractors (#6711)

Closes #4786
Authored by: bashonly
This commit is contained in:
bashonly
2023-05-26 07:57:10 -05:00
committed by GitHub
parent 5caf30dbc3
commit b844a3f8b1
3 changed files with 613 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ from ..utils import (
class NaverBaseIE(InfoExtractor):
_CAPTION_EXT_RE = r'\.(?:ttml|vtt)'
@staticmethod # NB: Used in VLiveWebArchiveIE
@staticmethod # NB: Used in VLiveWebArchiveIE, WeverseIE
def process_subtitles(vod_data, process_url):
ret = {'subtitles': {}, 'automatic_captions': {}}
for caption in traverse_obj(vod_data, ('captions', 'list', ...)):