Feb-19-2019, 02:19 PM
You need to move the "if __name__=="__main__"part, it needs to go at the bottom of the code:
if __name__=="__main__": htmlHead() main() htmlTail()Also, you never appear to call
def collect_result(result):
and I think you maybe need to split the searching code and the page making code.