Mozzarella

Home

Aria2 Integration Extension

Please Properly setup Aria2 before using this extension.

Features


Code example

(async function (url) {
   'use strict';

  const res = await fetch(url);
  if (res.ok) {
    const data = await res.text();
    const parser = new DOMParser();
    const doc = parser.parseFromString(data, "text/html");
    const matches = doc.querySelector("<SOME-QUERY-SELECTOR>");
    return matches.src;
  }
  throw res.statusText;
})();


Todo

Submit Issues
Please submit issues if you encounter any problems here (https://github.com/zluo01/aria2-extension/issues)

Reference

Install