parent
4f1aa0620f
commit
3dd55ef03e
|
@ -115,6 +115,7 @@ class NaukriJobScraper:
|
||||||
print(response.reason)
|
print(response.reason)
|
||||||
print(response.text)
|
print(response.text)
|
||||||
print(f"Error with page {start_page} for industry {industry_name}")
|
print(f"Error with page {start_page} for industry {industry_name}")
|
||||||
|
error_count +=1
|
||||||
with open(self.error_file_path, "a") as file:
|
with open(self.error_file_path, "a") as file:
|
||||||
file.write(f"Error with page {start_page} for industry {industry_name}\n")
|
file.write(f"Error with page {start_page} for industry {industry_name}\n")
|
||||||
# time.sleep(10)
|
# time.sleep(10)
|
||||||
|
|
Loading…
Reference in New Issue