Files
gopeed/pkg/download/testdata/extensions/on_start/index.js
T

6 lines
151 B
JavaScript

gopeed.events.onStart(async function (ctx) {
ctx.task.meta.req.url = "https://github.com";
ctx.task.meta.req.labels['modified'] = 'true';
});