Spaces:
Sleeping
Sleeping
Update wuzzuf_scraper.py
Browse files- wuzzuf_scraper.py +2 -2
wuzzuf_scraper.py
CHANGED
@@ -42,9 +42,9 @@ def Wuzzuf_scrapping(job_type , job_num):
|
|
42 |
country.append(loc[-1].strip())
|
43 |
links.append('https://wuzzuf.net' + Title[x].find('a').attrs['href'])
|
44 |
|
45 |
-
|
46 |
# print(f"Request failed: {e}")
|
47 |
-
|
48 |
|
49 |
|
50 |
# to get the info about jobs
|
|
|
42 |
country.append(loc[-1].strip())
|
43 |
links.append('https://wuzzuf.net' + Title[x].find('a').attrs['href'])
|
44 |
|
45 |
+
except requests.exceptions.RequestException as e:
|
46 |
# print(f"Request failed: {e}")
|
47 |
+
continue # Skip to the next page if there's an error
|
48 |
|
49 |
|
50 |
# to get the info about jobs
|