style: auto format
This commit is contained in:
parent
0a8ed6c2d1
commit
fc71d9e7af
|
|
@ -12,7 +12,7 @@ module.exports = async (ctx) => {
|
|||
const response = await got.get(link);
|
||||
const $ = cheerio.load(response.data);
|
||||
|
||||
const channel_name = $('h2.profile__heading--name').text().trim().split(" ")[0];
|
||||
const channel_name = $('h2.profile__heading--name').text().trim().split(' ')[0];
|
||||
|
||||
const list = $('ul.profile-mine__content li')
|
||||
.slice(0, 10)
|
||||
|
|
@ -87,4 +87,4 @@ module.exports = async (ctx) => {
|
|||
link: link,
|
||||
item: out,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue