Skip to content

Commit

Permalink
chore: fix 视频总数不匹配
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovler-Young committed Jun 15, 2024
1 parent b8b769e commit 435767b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion biliarchiver/cli_tools/get_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions biliarchiver/locales/biliarchiver.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 "还剩 ~{} 页"
Expand Down
4 changes: 0 additions & 4 deletions biliarchiver/locales/en/LC_MESSAGES/biliarchiver.po
Original file line number Diff line number Diff line change
Expand Up @@ -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 "还剩 ~{} 页"
Expand Down

0 comments on commit 435767b

Please sign in to comment.