parent
c9c3d4de92
commit
9ba51ae06b
|
@ -95,6 +95,7 @@ class NaukriJobScraper:
|
||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
print(response.status_code)
|
print(response.status_code)
|
||||||
print(response.reason)
|
print(response.reason)
|
||||||
|
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}")
|
||||||
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")
|
||||||
|
|
Loading…
Reference in New Issue