mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 00:25:43 +00:00
6 lines
210 B
JavaScript
6 lines
210 B
JavaScript
gopeed.events.onStart(async function (ctx) {
|
|
gopeed.logger.info("url", ctx.task.meta.req.url);
|
|
await ctx.task.setUrl("https://github.com");
|
|
await ctx.task.meta.req.putLabel('modified', 'true');
|
|
});
|