diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 3388212..117623b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -3,6 +3,8 @@
+
+
@@ -43,10 +45,10 @@
-
+
-
+
@@ -54,7 +56,7 @@
-
+
@@ -94,17 +96,17 @@
-
-
+
+
-
+
-
-
+
+
@@ -118,11 +120,11 @@
-
+
-
-
+
+
@@ -245,11 +247,11 @@
-
-
+
+
@@ -608,7 +610,14 @@
1540159296186
-
+
+ 1540160144607
+
+
+
+ 1540160144607
+
+
@@ -624,7 +633,7 @@
-
+
@@ -638,7 +647,7 @@
-
+
@@ -907,13 +916,6 @@
-
-
-
-
-
-
-
@@ -962,13 +964,6 @@
-
-
-
-
-
-
-
@@ -978,8 +973,22 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/core/scrapping_utils.py b/core/scrapping_utils.py
index 528282a..376a641 100644
--- a/core/scrapping_utils.py
+++ b/core/scrapping_utils.py
@@ -36,4 +36,7 @@ class UrlAttack():
return self.response.text
def get_status_code(self):
- return self.response.status_code
\ No newline at end of file
+ try:
+ return self.response.status_code
+ except AttributeError:
+ return None
\ No newline at end of file
diff --git a/geocoder/geocoder.py b/geocoder/geocoder.py
index 842e209..9bb674f 100644
--- a/geocoder/geocoder.py
+++ b/geocoder/geocoder.py
@@ -15,6 +15,8 @@ class Geocoder:
while True:
sleep(120)
+ print("Exists: {}".format(capturas_interface.not_geocoded_captura_exists()))
+
if capturas_interface.not_geocoded_captura_exists():
ad_data = capturas_interface.get_not_geocoded_captura()
print(ad_data)