diff --git a/lesson.py b/lesson.py
index 0348526..39a31b6 100644
--- a/lesson.py
+++ b/lesson.py
@@ -1,10 +1,10 @@
'''
Author: XF
Date: 2021-09-02 20:08:33
-LastEditTime: 2021-09-03 19:19:41
+LastEditTime: 2021-09-04 07:55:17
LastEditors: XF
Description:
-FilePath: \\BuptMasterClass\\xyw.py
+FilePath: \\undefinedc:\\Users\\xf\\Desktop\\BuptMasterClass\\BuptMasterClass\\xyw.py
'''
from bs4 import BeautifulSoup
import time
@@ -15,7 +15,11 @@
import time
import datetime
header = {}
-ids = ['3131100787']
+
+# 新时代中国特色社会主义理论与实践13班
+# 研究生英语国际学术交流8班
+
+ids = [["3311101694","研究生英语国际学术交流8班"], ["3321101666","新时代中国特色社会主义理论与实践13班"]] #[[id, 班级或上课时间], ...]
def login(cookiestr):
global header
header = {
@@ -37,7 +41,7 @@ def get_class_page(header, serverid = 0):
return soup
-def xuanke(html, serverid = 0):
+def xuanke(html,id, serverid = 0):
global ids
res = re.findall(r'EID=(.*?)\'', html)
if len(res)==0:
@@ -52,29 +56,25 @@ def xuanke(html, serverid = 0):
__EVENTVALIDATION = re.findall(r'', source)[0]
__VIEWSTATE = re.findall(r'