MikeMeliz/TorCrawl.py

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

santosadrian opened this issue · 2 comments

(base) root@pimp3:~/TorCrawl.py# python3 torcrawl.py -v -u darkfailenbsdla5mal2mxn2uz66od5vtzd5qozslagrfzachha3f3id.onion -c -d 999 -p 1
Traceback (most recent call last):
File "torcrawl.py", line 218, in
main()
File "torcrawl.py", line 176, in main
if int(args.yara) not in [0, 1]:
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Put "-y 0" into your query.

Another delayed answer here, but I'm trying today to make yara not to confuse the new users. First, many thanks @dennisosaj for helping here!

I've changed it in this commit here: 35d2874 that yara module and argument won't be really needed for any run. So simple queries like torcrawl.py -u google.com will work again!