Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yzqzss committed Aug 4, 2023
1 parent 03fa9b9 commit 65fe302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biliarchiver/_biliarchiver_upload_bvid.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _upload_bvid(bvid: str, *, update_existing: bool = False, collection: str):
with open(f'{videos_basepath}/{local_identifier}/extra/{file_basename}.info.json', 'r', encoding='utf-8') as f:
bv_info = json.load(f)

cover_url: str = bv_info['data']['pic']
cover_url: str = bv_info['data']['View']['pic']
cover_suffix = PurePath(urlparse(cover_url).path).suffix

filedict = {} # "remote filename": "local filename"
Expand Down

0 comments on commit 65fe302

Please sign in to comment.