mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 08:43:58 +03:00
Acfun: legitimize title
This commit is contained in:
parent
86ab2d9a8c
commit
bcf5c06893
@ -36,6 +36,7 @@ def acfun_download_by_vid(vid, title=None, output_dir='.', merge=True, info_only
|
|||||||
raise NotImplementedError(t)
|
raise NotImplementedError(t)
|
||||||
|
|
||||||
if not info_only:
|
if not info_only:
|
||||||
|
title = legitimize(title)
|
||||||
try:
|
try:
|
||||||
print('Downloading %s ...' % (title + '.cmt.json'))
|
print('Downloading %s ...' % (title + '.cmt.json'))
|
||||||
cmt = get_srt_json(danmakuId)
|
cmt = get_srt_json(danmakuId)
|
||||||
|
Loading…
Reference in New Issue
Block a user