Hi, this is my output when i try the piholecron.sh in Webmin:
[0m
[4mPihole unique YouTube advertisement url checker[0m
[4mCreated by eLVee[0m
[92m[+] Checking all dns requests for YouTube queries.[0m
[92m[+] Checking for youtube fingerprint..[0m
[1m[+] Done checking requests.[0m
[92m[+] Sorting urls..[0m
[1m[+] Done sorting urls for queries.[0m
[92m[+] Sorting for unique urls and adding to list 'blocklist.txt'..[0m
[1m[+] Done adding to blocklist.[0m
[92m[+] Adding contents of blocklist to pihole.[0m
Traceback (most recent call last):
File "youtubeblock.py", line 184, in
add_to_pihole()
File "youtubeblock.py", line 151, in add_to_pihole
command.interact()
File "/usr/local/lib/python2.7/dist-packages/pexpect/pty_spawn.py", line 761, in interact
mode = tty.tcgetattr(self.STDIN_FILENO)
termios.error: (25, 'Inappropriate ioctl for device')
I edited the piholecron.sh for write my route to the .sh:
Hi, this is my output when i try the piholecron.sh in Webmin:
[0m [4mPihole unique YouTube advertisement url checker[0m [4mCreated by eLVee[0m
[92m[+] Checking all dns requests for YouTube queries.[0m [92m[+] Checking for youtube fingerprint..[0m [1m[+] Done checking requests.[0m [92m[+] Sorting urls..[0m [1m[+] Done sorting urls for queries.[0m [92m[+] Sorting for unique urls and adding to list 'blocklist.txt'..[0m [1m[+] Done adding to blocklist.[0m [92m[+] Adding contents of blocklist to pihole.[0m Traceback (most recent call last): File "youtubeblock.py", line 184, in
add_to_pihole()
File "youtubeblock.py", line 151, in add_to_pihole
command.interact()
File "/usr/local/lib/python2.7/dist-packages/pexpect/pty_spawn.py", line 761, in interact
mode = tty.tcgetattr(self.STDIN_FILENO)
termios.error: (25, 'Inappropriate ioctl for device')
I edited the piholecron.sh for write my route to the .sh:
cd /root/youtubeblock python youtubeblock.py
Thanks in advace...!