fix(route): fix warthunder route css selector issue (#11097)
This commit is contained in:
parent
4577c8f664
commit
b43add238f
|
|
@ -16,7 +16,7 @@ module.exports = async (ctx) => {
|
|||
const pageFace = $('div.showcase__item.widget')
|
||||
.map((_, item) => {
|
||||
item = $(item);
|
||||
let pubDate = parseDate(item.find('div.widget__content > ul > li').text(), 'D MMMM YYYY');
|
||||
let pubDate = parseDate(item.find('div.widget__content > ul > li.widget-meta__item.widget-meta__item--right').text(), 'D MMMM YYYY');
|
||||
pubDate = timezone(pubDate, 0);
|
||||
const category = [];
|
||||
if (item.find('div.widget__pin').length !== 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue