style: auto format
This commit is contained in:
@@ -43,11 +43,7 @@ async function handler(ctx) {
|
||||
|
||||
const $ = load(response.data);
|
||||
|
||||
const bigTitle = $('div.column-news-box')
|
||||
.find('h2.column-title')
|
||||
.text()
|
||||
.replaceAll(/[\s·]/g, '')
|
||||
.trim();
|
||||
const bigTitle = $('div.column-news-box').find('h2.column-title').text().replaceAll(/[\s·]/g, '').trim();
|
||||
|
||||
const list = $('a.column-news-item')
|
||||
.toArray()
|
||||
|
||||
Reference in New Issue
Block a user