mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
fix: /cfd/gbp_div DOM 更新 (#4888)
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
const $ = cheerio.load(response.data);
|
||||
|
||||
const title = $('.news-table-wrapper')[0].prev.prev.children[2].data.replace('*', '');
|
||||
const title = $($('.news-table-wrapper')[0]).prev().text().replace('*', '');
|
||||
|
||||
const pubDate = dateParser($('meta[itemprop="datePublished"]').attr('content'), 'YYYY-MM-DD-HH:mm');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user