adblock-lean
adblock-lean copied to clipboard
Additional header elements now detected as Rogue Element
I want to use a blocklist, not specifically created for Adblock Lean: https://filters.hufilter.hu/hufilter-dns.txt (from the https://hufilter.hu/filters collections).
The structure of the list looks compatible, but when adding it to the "blocklist_urls", I see the following error:
Warning: Rogue element '! checksum: cemjvsd3huw7kg9ati7y4q' identified in blocklist file from: https://filters.hufilter.hu/hufilter-dns.txt.
Error: Processing job (PID 16791) for list 'https://filters.hufilter.hu/hufilter-dns.txt' returned error code '3'.
Skipping file and continuing.
Yes, the file starts with a checksum line in the header, that is not in the example raw-format list. Would it be possible to just ignore lines like this? Or is there a specific reason for aborting the import for such files?
Thanks in advance.
Ah, I can see that the header comments start with a different character ( ! instead of # ).
I'm a bit confused about these different formats, so if you say it's something you don't plan to support, you can close this ticket.
the header comments start with a different character ( ! instead of # )
Indeed. This is a different format and not typical for DNS lists. I suspect that list maintainers made a mistake and I would suggest to contact them.
Regardless, we could consider adding support for hosts-format lists just so people have more options. We could convert such lists into raw domains format and then load them as usual. What do you say @lynxthecat ?
Thanks for the help, lads. Also over there. As far as I'm concerned, I'm happy now with their "pihole" file as raw format list.
Regardless, we could consider adding support for hosts-format lists just so people have more options. We could convert such lists into raw domains format and then load them as usual. What do you say @lynxthecat ?
Sorry for my late response. A downside to this is not readily apparent to me.