fix: xjtu dean url (#4086)
This commit is contained in:
parent
bb0369e45d
commit
84a710fdfc
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue