File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ func (a *App) CatchCoursePub(
113113 })
114114 // 点击 "教务管理系统"
115115 page .Evaluate (`() => {
116- const items = document.querySelectorAll('#common_div > ul > li > div.text-box')
116+ const items = document.querySelectorAll('#recently_div > ul > li > div.text-box')
117117 for (const item of items) {
118118 if (item.textContent?.includes('教务管理系统')) {
119119 item.parentElement?.click()
@@ -364,7 +364,7 @@ func (a *App) CatchCourseMaj(
364364 })
365365 // 点击 "教务管理系统"
366366 page .Evaluate (`() => {
367- const items = document.querySelectorAll('#common_div > ul > li > div.text-box')
367+ const items = document.querySelectorAll('#recently_div > ul > li > div.text-box')
368368 for (const item of items) {
369369 if (item.textContent?.includes('教务管理系统')) {
370370 item.parentElement?.click()
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ func (a *App) watchCoursePubCore(
185185 })
186186 // 点击 "教务管理系统"
187187 page .Evaluate (`() => {
188- const items = document.querySelectorAll('#common_div > ul > li > div.text-box')
188+ const items = document.querySelectorAll('#recently_div > ul > li > div.text-box')
189189 for (const item of items) {
190190 if (item.textContent?.includes('教务管理系统')) {
191191 item.parentElement?.click()
@@ -432,7 +432,7 @@ func (a *App) watchCoursePubSyncCore(
432432 })
433433 // 点击 "教务管理系统"
434434 page .Evaluate (`() => {
435- const items = document.querySelectorAll('#common_div > ul > li > div.text-box')
435+ const items = document.querySelectorAll('#recently_div > ul > li > div.text-box')
436436 for (const item of items) {
437437 if (item.textContent?.includes('教务管理系统')) {
438438 item.parentElement?.click()
@@ -672,7 +672,7 @@ func (a *App) watchCourseMajCore(
672672 })
673673 // 点击 "教务管理系统"
674674 page .Evaluate (`() => {
675- const items = document.querySelectorAll('#common_div > ul > li > div.text-box')
675+ const items = document.querySelectorAll('#recently_div > ul > li > div.text-box')
676676 for (const item of items) {
677677 if (item.textContent?.includes('教务管理系统')) {
678678 item.parentElement?.click()
You can’t perform that action at this time.
0 commit comments