The following is the error code
savePath = "E:\\Desktop\\output\\?.html"
file = open(savePath, 'wb')
After running the error message is as follows:
Traceback (most recent call last): File "Main.py", line 35, in
<module>
crawler.testSaveContent("E:\\Desktop\\output\\?.html") File
"E:\Desktop\MyCrawler.py", line 77, in testSaveContent
file = open(savePath, 'wb') OSError: [Errno 22] Invalid argument:
'E:\\Desktop\\output\\?.html'
my python version is 3.6.3