Jun-07-2017, 06:14 PM
You run the indexer in another thread, but then never wait for the thread to finish. So maybe the script finishes before the first page is even finished transferring over the network?
i = indexer(domain) i.run() # indexer is now running in a different thread, but you're not waiting for it to finish # to wait for it to be done, use the .join() method: i.join()