threatexpress/domainhunter

List Index Out of Range - Line 538

liamshiff12 opened this issue · 1 comments

Hello everyone,

I apologize if this is an easy question but I am relatively new.

I installed pycharm as my IDE and installed all the packages required (except that I updated pillow to 7.0.0 as I was getting an error while trying to install the 5.0.0) and installed it on Windows.

I successfully ran a command and entered my password and it successfully logged in ExpiredDomains. However, the code gave me the following error (added a line of code that would tell me where the error is)

For the record - I did not know how to install the Dockerfile, if that is the problem maybe someone could explain? would be really appreciated.

The command that I used was: python ./domainhunter.py -r 10

[+] Login successful. ExpiredDomainssessid: ****************** lo4 lo4 [*] https://member.expireddomains.net/domains/combinedexpired/?fwhois=22&fadult=1&start=0&ftlds[]=2&ftlds[]=3&ftlds[]=4&flimit=10&fdomain=&fdomainstart=&fdomainend=&falexa=0 EXCEPTION IN (./domainhunter.py, LINE 538 "tbody = table[0].select("tbody tr")"): list index out of range [-] No domain results found or none are currently available for purchase!
Could someone please help?

Hey everyone,

I fixed this issue, turns out I was supposed to use the argument -u for username instead of pasting my username into the code itself.