fix(route)(zimuku) 字幕库新域名 (#8291)

This commit is contained in:
Tom Yang
2021-09-28 04:30:42 -07:00
committed by GitHub
parent 5f1df4f7b7
commit 436197e685
+1 -1
View File
@@ -3,7 +3,7 @@ const cheerio = require('cheerio');
module.exports = async (ctx) => {
const { type = 'mv' } = ctx.params;
const baseUrl = 'http://www.zimuku.la';
const baseUrl = 'https://www.zimuku.org';
const url = `${baseUrl}/newsubs?t=${type}`;
const response = await got(url);
const $ = cheerio.load(response.data);