Convert filter list from URL to DNR ruleset
Background
As a followup to #379 (closed), we must download the filter list to convert from a URL.
This allow using the text2dnr.js
script directly with URL.
What to change
In scripts/text2dnr.js
, detect the filter list specified is a URL and then download it first, using got
.
Hint for testers
Passing a valid https
URL to text2dnr
perform the conversion.
Edited by Hubert Figuière