Closed pschneider1968 closed 1 year ago
It seems there really is no pihole command line interface to the Gravity DB yet. So the only solutions seems to be to use sqlite3 to directly access the DB and manipulate the adlist table.
Fixed in branch dev_v0.2 by commit eaf3548dd93fecba587ac622b00e615582b8e976 Still to be merged back to master.
Some more thought is required on how to merge changes to the list of blocklists:
Currently the big ad domain block list needs to be entered manually via Pi-Hole web interface.
This is cumbersome.
Need to figure out a way to make this work in a scriptable way, too, but without directly interacting with the Gravity SQLite DB via direct SQL commands, because that could too easily break or corrupt the DB.