mirror of
https://github.com/saveweb/biliarchiver.git
synced 2024-09-19 11:05:28 -07:00
chore: fix 视频总数不匹配
This commit is contained in:
parent
b8b769e03f
commit
435767be25
@ -168,7 +168,6 @@ async def by_up_videos(url_or_mid: str, truncate: int = int(1e10)) -> Path:
|
||||
print(mid, up_name, total_size)
|
||||
await client.aclose()
|
||||
assert len(bv_ids) == len(set(bv_ids)), _("有重复的 bv_id")
|
||||
assert total_size == len(bv_ids), _("视频总数不匹配")
|
||||
filepath = f"bvids/by-up_videos/mid-{mid}-{int(time.time())}.txt"
|
||||
os.makedirs(os.path.dirname(filepath), exist_ok=True)
|
||||
abs_filepath = os.path.abspath(filepath)
|
||||
|
@ -319,10 +319,6 @@ msgstr[1] ""
|
||||
msgid "有重复的 bv_id"
|
||||
msgstr ""
|
||||
|
||||
#: biliarchiver/cli_tools/get_command.py:133
|
||||
msgid "视频总数不匹配"
|
||||
msgstr ""
|
||||
|
||||
#: biliarchiver/cli_tools/get_command.py:237
|
||||
msgid "还剩 ~{} 页"
|
||||
msgid_plural "还剩 ~{} 页"
|
||||
|
@ -313,10 +313,6 @@ msgstr[1] ""
|
||||
msgid "有重复的 bv_id"
|
||||
msgstr ""
|
||||
|
||||
#: biliarchiver/cli_tools/get_command.py:124
|
||||
msgid "视频总数不匹配"
|
||||
msgstr "Video count mismatch"
|
||||
|
||||
#: biliarchiver/cli_tools/get_command.py:228
|
||||
msgid "还剩 ~{} 页"
|
||||
msgid_plural "还剩 ~{} 页"
|
||||
|
Loading…
Reference in New Issue
Block a user