Open petergeelhoed opened 3 years ago
This will not work when the querylogging is off.
I propose that you use something like:
echo " select domain from queries where domain like '%.googlevideo.com'and status in (2, 3,14,12,13) group by domain" | /usr/bin/sqlite3 /etc/pihole/pihole-FTL.db | grep 'r[0-9]{1,2}[^-].*.googlevideo.com'
Hi @petergeelhoed ,
You're right, I hadn't think about this. I'll take look to your comment, and I'll do some tests.
Kind regards,
This will not work when the querylogging is off.
I propose that you use something like:
echo " select domain from queries where domain like '%.googlevideo.com'and status in (2, 3,14,12,13) group by domain" | /usr/bin/sqlite3 /etc/pihole/pihole-FTL.db | grep 'r[0-9]{1,2}[^-].*.googlevideo.com'