parent
a39288eda0
commit
8681aee8d5
|
@ -85,6 +85,8 @@ class NaukriJobScraper:
|
|||
# print(f"{response.status_code} for {url}")
|
||||
|
||||
if response.status_code != 200:
|
||||
print(response.status_code)
|
||||
print(response.reason)
|
||||
print(f"Error with page {start_page} for industry {industry_name}")
|
||||
with open(self.error_file_path, "a") as file:
|
||||
file.write(f"Error with page {start_page} for industry {industry_name}\n")
|
||||
|
|
Loading…
Reference in New Issue