Fix linter issues in sites/
This commit is contained in:
1 parent
d6d20b6413
commit
5df982bb7c
129 files changed
+3316
-3226
No files matched your search
@@ -132,7 +132,7 @@ module.exports = {
|
||||
const $ = cheerio.load(data)
|
||||
$('.channelname').each((i, el) => {
|
||||
let name = $(el).find('center > a:eq(1)').text()
|
||||
name = name.replace(/\-\-/gi, '-')
|
||||
name = name.replace(/--/gi, '-')
|
||||
const url = $(el).find('center > a:eq(1)').attr('href')
|
||||
if (!url) return
|
||||
const [, number, slug] = url.match(/\/(\d+)\/(.*)\.html$/)
|
||||
|
||||
Reference in new issue
Block a user