chore(deps-dev): bump prettier from 1.19.1 to 2.0.2

This commit is contained in:
DIYgod
2020-04-02 21:21:46 +08:00
parent 27e4a7c151
commit 0e7b14e718
471 changed files with 1237 additions and 4457 deletions

View File

@@ -83,15 +83,10 @@ module.exports = async (ctx) => {
$('tr')
.slice(1)
.each((i, e) => {
const id = $(e)
.find('th')
.text();
const id = $(e).find('th').text();
const titleLabel = $(e).find('td a');
const title = `${id}. ${titleLabel.text()}`;
const episode = titleLabel
.attr('href')
.trim()
.split('/')[2];
const episode = titleLabel.attr('href').trim().split('/')[2];
const link = `http://algocasts.io/episodes/${episode}`;
infos.push({ id, title, episode, link });