chore: fix 视频总数不匹配

This commit is contained in:
Ovler 2024-06-15 16:11:21 +00:00
parent b8b769e03f
commit 435767be25
3 changed files with 0 additions and 9 deletions

View File

@ -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)

View File

@ -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 "还剩 ~{} 页"

View File

@ -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 "还剩 ~{} 页"