diff --git a/lib/routes/segmentfault/user.js b/lib/routes/segmentfault/user.js index 68b3f1656..a0320302d 100644 --- a/lib/routes/segmentfault/user.js +++ b/lib/routes/segmentfault/user.js @@ -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, }; -}; \ No newline at end of file +};