mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-13 08:39:38 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user