FilterLists icon indicating copy to clipboard operation
FilterLists copied to clipboard

api: query lists by syntax/software

Open solisinvictum opened this issue 2 years ago • 2 comments

Hi guys, I recently found this project and I am excited. Thank you for your efforts!

Only unfortunately makes the manual search, and url filter out and add in pi-hole eg extremely much work if you only use the website.

I may be a bit stupid, but for my home network I have the setting: filter out everything that goes, if what does not go specifically unlock (use opnsense rules and pi-hole for dns).

In this way I have already over 60 million URLs in Pihole eg.

Now I would like to add to this even further.

I have already looked at the API (https://filterlists.com/api/) and there seems to be already in theory the possibility to display only the URLs.

What I can not manage, however, is to find a way how I query the API so that all URLs are output that are usable for Pi-hole AND have a maintainer.

Can anyone help me?

Thanks a lot!

(text translated with deepl,. because native german)

solisinvictum avatar Jan 12 '23 07:01 solisinvictum

What I can not manage, however, is to find a way how I query the API so that all URLs are output that are usable for Pi-hole AND have a maintainer.

I don't think this is possible with the current API.

Querying for all lists that support a specific syntax/software certainly does seem like a pretty general/desirable use case. Tacking on the requirement of only those that have a listed maintainer is a bit more fringe.

I'm not opposed to adding this feature, and I'd love to beef up the API in general. I just haven't had much time lately.

collinbarrett avatar Jan 12 '23 14:01 collinbarrett

Hm ok.

Atleast i know how to do it with a bash script. Maybe i can figure something out. But that would be than linux only.

solisinvictum avatar Jan 13 '23 13:01 solisinvictum