Skip to content

Commit

Permalink
fix: local variable 'video_info_fetched' referenced before assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddd13 committed Jun 22, 2024
1 parent bb5337a commit 3fed7f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ The onedrive needs a login for the first time, after that the token will be save
- [x] rclone for docker
- [ ] rclone for github action
- [ ] download with cookie
- [ ] record failed videos
- [ ] add retry history failed videos
- [ ] config from gist
- [ ] backup summary
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ def main(strategy):
logger.error(f"Failed to get video metadata for video [{video_meta.title}]: {str(e)}")
all_eps_ok = False
all_tasks_success = False
# continue
# 有时似乎返回视频信息失效,但实际并未失效
continue
# FIXME:有时似乎返回视频信息失效,但实际并未失效

#### skip videos with many eps
num_eps = len(video_info_fetched.pages)
Expand Down

0 comments on commit 3fed7f9

Please sign in to comment.