Skip to content

Commit 3fed7f9

Browse files
committed
fix: local variable 'video_info_fetched' referenced before assignment
1 parent bb5337a commit 3fed7f9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ The onedrive needs a login for the first time, after that the token will be save
149149
- [x] rclone for docker
150150
- [ ] rclone for github action
151151
- [ ] download with cookie
152+
- [ ] record failed videos
152153
- [ ] add retry history failed videos
153154
- [ ] config from gist
154155
- [ ] backup summary

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ def main(strategy):
158158
logger.error(f"Failed to get video metadata for video [{video_meta.title}]: {str(e)}")
159159
all_eps_ok = False
160160
all_tasks_success = False
161-
# continue
162-
# 有时似乎返回视频信息失效,但实际并未失效
161+
continue
162+
# FIXME:有时似乎返回视频信息失效,但实际并未失效
163163

164164
#### skip videos with many eps
165165
num_eps = len(video_info_fetched.pages)

0 commit comments

Comments
 (0)