mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
style: auto format
This commit is contained in:
@@ -47,9 +47,7 @@ export const route: Route = {
|
||||
const response = await got(baseUrl);
|
||||
const $ = load(response.data);
|
||||
|
||||
const filteredEls = $(`div.limit_style1[frag="${fragList[type].frag}"]`)
|
||||
.find('table > tbody > tr > td')
|
||||
.toArray();
|
||||
const filteredEls = $(`div.limit_style1[frag="${fragList[type].frag}"]`).find('table > tbody > tr > td').toArray();
|
||||
const links = filteredEls.map((el) => ({
|
||||
pubDate: timezone(parseDate($(el).find('.data').text()), +8),
|
||||
link: new URL($(el).find('a').attr('href'), baseUrl).toString(),
|
||||
|
||||
Reference in New Issue
Block a user