fix: xjtu dean url (#4086)

This commit is contained in:
hoilc
2020-02-27 00:38:04 +08:00
committed by GitHub
parent bb0369e45d
commit 84a710fdfc
+1 -1
View File
@@ -56,7 +56,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(item);
const title = $('a');
const link = new URL(title.attr('href'), base);
const link = new URL(title.attr('href'), base).href;
const cache = await ctx.cache.get(link);
if (cache) {