style: auto format
This commit is contained in:
@@ -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,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user