mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix: oilprice route (#2395)
This commit is contained in:
@@ -11,12 +11,12 @@ module.exports = async (ctx) => {
|
||||
responseType: 'buffer',
|
||||
});
|
||||
const $ = cheerio.load(iconv.decode(response.data, 'gb2312'));
|
||||
const $list = $('.pp')
|
||||
const $list = $('.content')
|
||||
.eq(0)
|
||||
.find('table tbody tr');
|
||||
const resultItem = [];
|
||||
let areaName = '';
|
||||
const updateTime = $('.pm')
|
||||
const updateTime = $('.time')
|
||||
.text()
|
||||
.split(':')[1];
|
||||
const labelList = $list
|
||||
|
||||
Reference in New Issue
Block a user