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

This commit is contained in:
Tom Yang 2021-09-28 07:30:42 -04:00 committed by GitHub
parent 5f1df4f7b7
commit 436197e685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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);