eLVee1991 / youtubeblock

Search the pihole logs for youtube advertisement urls and add them to the blocklist.
25 stars 5 forks source link

Error in piholecron.sh #8

Open R4di04kt1v3 opened 5 years ago

R4di04kt1v3 commented 5 years ago

Hi, this is my output when i try the piholecron.sh in Webmin:

 Pihole unique YouTube advertisement url checker Created by eLVee

[+] Checking all dns requests for YouTube queries. [+] Checking for youtube fingerprint.. [+] Done checking requests. [+] Sorting urls.. [+] Done sorting urls for queries. [+] Sorting for unique urls and adding to list 'blocklist.txt'.. [+] Done adding to blocklist. [+] Adding contents of blocklist to pihole. 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...!