From a1f73370d2faf4909b5aac48c277a2612af7b47f Mon Sep 17 00:00:00 2001 From: RainSun Date: Sun, 16 Feb 2020 17:54:42 +0800 Subject: [PATCH] fix can not login problem --- lib/crawler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/crawler.py b/lib/crawler.py index fc7000a..6567fd4 100644 --- a/lib/crawler.py +++ b/lib/crawler.py @@ -83,6 +83,8 @@ def getGrade(Ip, S): flag = True #遍历课程 for item in split: + if not item['YXCJ']: + continue #如果和上一个课程重名 if item['LessonInfo']['KCMC'] == last_lesson_name: #判断是否通过