Repository: alltheplaces/alltheplaces

Issue:
Spider target_au is broken
During the global build at 2021-05-26-14-42-23, spider **target_au** failed with **0 features** and **16 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-05-26-14-42-23/logs/target_au.log) and [the output](https://data.alltheplaces.xyz/runs/2021-05-26-14-42-23/output/target_au.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-05-26-14-42-23/output/target_au.geojson))


Discussion:
During the global build at 2021-06-30-14-42-26, spider **target** succeeded with **1907 features** and **0 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/logs/target.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/output/target.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/output/target.geojson))
During the global build at 2021-06-30-14-42-26, spider **target_au** failed with **0 features** and **0 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/logs/target_au.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/output/target_au.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-06-30-14-42-26/output/target_au.geojson))
During the global build at 2021-07-14-14-42-22, spider **target** succeeded with **1909 features** and **0 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/logs/target.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/output/target.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/output/target.geojson))
During the global build at 2021-07-14-14-42-22, spider **target_au** failed with **0 features** and **16 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/logs/target_au.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/output/target_au.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-07-14-14-42-22/output/target_au.geojson))
During the global build at 2021-07-21-14-42-39, spider **target** succeeded with **1909 features** and **0 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/logs/target.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/output/target.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/output/target.geojson))
During the global build at 2021-07-21-14-42-39, spider **target_au** failed with **0 features** and **16 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/logs/target_au.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/output/target_au.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-07-21-14-42-39/output/target_au.geojson))
During the global build at 2021-08-25-14-42-15, spider **target_au** failed with **0 features** and **16 errors**.

Here's [the log](https://data.alltheplaces.xyz/runs/2021-08-25-14-42-15/logs/target_au.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-08-25-14-42-15/output/target_au.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-08-25-14-42-15/output/target_au.geojson))

Resolving patch:
diff --git a/locations/spiders/target_au.py b/locations/spiders/target_au.py
--- a/locations/spiders/target_au.py
+++ b/locations/spiders/target_au.py
@@ -26,6 +26,8 @@ def parse(self, response):
             yield scrapy.Request(response.urljoin(link), callback=self.parse_store, headers=self.headers)
 
     def _parse_hour_str(self, hour_string):
+        if hour_string == "Midnight":
+            return self._parse_hour_str("12:00 AM")
         time_, am_pm = tuple(hour_string.split(" "))
         hour, min = tuple(time_.split(":"))
         hour = int(hour)


Test patch: