fix(route)(zimuku) 字幕库新域名 (#8291)
This commit is contained in:
parent
5f1df4f7b7
commit
436197e685
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue