mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix shmtu $ get (#1773)
https://github.com/DIYgod/RSSHub/commit/1c7984272ecc75f87862d1188af84d7df9940a22
This commit is contained in:
@@ -13,7 +13,9 @@ module.exports = async (ctx) => {
|
||||
});
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
const text = $('tr', 'tbody').slice(0, 10);
|
||||
const text = $('tr', 'tbody')
|
||||
.slice(0, 10)
|
||||
.get();
|
||||
|
||||
ctx.state.data = {
|
||||
title: '上海海事大学 学术讲座',
|
||||
|
||||
@@ -15,7 +15,9 @@ module.exports = async (ctx) => {
|
||||
});
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
const text = $('.gvRow', '.tdMCViewList').slice(0, 10);
|
||||
const text = $('.gvRow', '.tdMCViewList')
|
||||
.slice(0, 10)
|
||||
.get();
|
||||
|
||||
ctx.state.data = {
|
||||
title: `上海海事大学 ${info}`,
|
||||
|
||||
@@ -13,7 +13,9 @@ module.exports = async (ctx) => {
|
||||
});
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
const text = $('tr', 'tbody').slice(0, 10);
|
||||
const text = $('tr', 'tbody')
|
||||
.slice(0, 10)
|
||||
.get();
|
||||
|
||||
ctx.state.data = {
|
||||
title: '上海海事大学 通知公告',
|
||||
|
||||
Reference in New Issue
Block a user