We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Shell spider doesn't return any results for Bulgaria
There are around 100 Shell gas stations in Bulgaria but none of them are shown in the latest spider result. They are listed on their Bulgarian website (https://www.shell.bg/motorists/shell-station-locator.html).

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `locations/storefinders/geo_me.py`
Content:
```
1 from scrapy import Spider
2 from scrapy.http import JsonRequest
3 from scrapy.signals import spider_idle
4 
5 from locations.dict_parser import DictParser
6 from locations.hours import DAYS, DAYS_EN, OpeningHours, day_range
7 from locations.items import Feature
8 
9 # To use this store finder, specify key = x where x is the unique
10 # identifier of the store finder in domain x.geoapp.me.
11 #
12 # It is likely there are additional fields of data worth extracting
13 # from the store finder. These should be added by overriding the
14 # parse_item function. Two parameters are passed, item (and ATP
15 # "Feature" class) and location (a dict which is returned from the
16 # store locator JSON response for a particular location).
17 #
18 # This spider has two crawling steps which are executed in order:
19 # 1. Obtain list of all locations by using the API to do bounding
20 #    box searches across the world. The only thing of interest
21 #    returned for each location in this step is a unique identifier
22 #    and coordinates.
23 # 2. Iterating through the all locations list produced by step (1),
24 #    request the nearest 50 (API limit) locations for each location
25 #    in the all locations list. Remove from the all locations list
26 #    and locations that were returned with a nearest location
27 #    search. Repeat until the all locations list is empty. The
28 #    nearest location search returns all details of a location.
29 #
30 # Note that due to the way the two crawling steps are required to
31 # operate, numerous duplicate locations will be dropped during
32 # extraction. It is common for locations to be present in more than
33 # one nearby cluster of locations that the "nearest to" search
34 # iterates through.
35 
36 
37 class GeoMeSpider(Spider):
38     key = ""
39     api_version = "2"
40     url_within_bounds_template = "https://{}.geoapp.me/api/v{}/locations/within_bounds?sw[]={}&sw[]={}&ne[]={}&ne[]={}"
41     url_nearest_to_template = "https://{}.geoapp.me/api/v{}/locations/nearest_to?lat={}&lng={}&limit=50"
42     locations_found = {}
43 
44     def start_requests(self):
45         self.crawler.signals.connect(self.start_location_requests, signal=spider_idle)
46         yield JsonRequest(
47             url=self.url_within_bounds_template.format(self.key, self.api_version, -90, -180, 90, 180),
48             callback=self.parse_bounding_box,
49         )
50 
51     def parse_bounding_box(self, response):
52         for cluster in response.json().get("clusters", []):
53             if b := cluster.get("bounds"):
54                 yield JsonRequest(
55                     url=self.url_within_bounds_template.format(
56                         self.key, self.api_version, b["sw"][0], b["sw"][1], b["ne"][0], b["ne"][1]
57                     ),
58                     callback=self.parse_bounding_box,
59                 )
60         for location in response.json().get("locations", []):
61             self.locations_found[location["id"]] = (float(location["lat"]), float(location["lng"]))
62 
63     def start_location_requests(self):
64         self.crawler.signals.disconnect(self.start_location_requests, signal=spider_idle)
65         if len(self.locations_found) > 0:
66             first_search_location = self.locations_found.popitem()
67             first_request = JsonRequest(
68                 url=self.url_nearest_to_template.format(
69                     self.key, self.api_version, first_search_location[1][0], first_search_location[1][1]
70                 ),
71                 callback=self.parse_locations,
72             )
73             self.crawler.engine.crawl(first_request)
74 
75     def parse_locations(self, response):
76         for location in response.json()["locations"]:
77             if location.get("inactive"):
78                 continue
79             location["street_address"] = location.pop("address")
80             item = DictParser.parse(location)
81             self.extract_hours(item, location)
82             yield from self.parse_item(item, location) or []
83 
84             # Remove found location from the list of locations which
85             # are still waiting to be found.
86             if self.locations_found.get(location["id"]):
87                 self.locations_found.pop(location["id"])
88 
89         # Get the next location to do a "nearest to" search from.
90         if len(self.locations_found) > 0:
91             next_search_location = self.locations_found.popitem()
92             yield JsonRequest(
93                 url=self.url_nearest_to_template.format(
94                     self.key, self.api_version, next_search_location[1][0], next_search_location[1][1]
95                 ),
96                 callback=self.parse_locations,
97             )
98 
99     def extract_hours(self, item, location):
100         item["opening_hours"] = OpeningHours()
101         if location.get("open_status") == "twenty_four_hour":
102             item["opening_hours"].add_days_range(DAYS, "00:00", "23:59")
103             return
104         open_hours = location.get("opening_hours")
105         if not open_hours:
106             return
107         for spec in open_hours:
108             days = spec["days"]
109             day_from = day_to = days[0]
110             if len(days) == 2:
111                 day_to = days[1]
112             for day in day_range(DAYS_EN[day_from], DAYS_EN[day_to]):
113                 for hours in spec["hours"]:
114                     item["opening_hours"].add_range(day, hours[0], hours[1])
115 
116     def parse_item(self, item: Feature, location: dict, **kwargs):
117         yield item
118
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/locations/storefinders/geo_me.py b/locations/storefinders/geo_me.py
--- a/locations/storefinders/geo_me.py
+++ b/locations/storefinders/geo_me.py
@@ -1,3 +1,5 @@
+import random
+
 from scrapy import Spider
 from scrapy.http import JsonRequest
 from scrapy.signals import spider_idle
@@ -62,41 +64,42 @@
 
     def start_location_requests(self):
         self.crawler.signals.disconnect(self.start_location_requests, signal=spider_idle)
-        if len(self.locations_found) > 0:
-            first_search_location = self.locations_found.popitem()
-            first_request = JsonRequest(
-                url=self.url_nearest_to_template.format(
-                    self.key, self.api_version, first_search_location[1][0], first_search_location[1][1]
-                ),
-                callback=self.parse_locations,
-            )
-            self.crawler.engine.crawl(first_request)
+        self.crawler.engine.crawl(self.get_next_location())
 
     def parse_locations(self, response):
         for location in response.json()["locations"]:
+            # Remove found location from the list of locations which
+            # are still waiting to be found.
+            if self.locations_found.get(location["id"]):
+                self.locations_found.pop(location["id"])
+
             if location.get("inactive"):
                 continue
+
             location["street_address"] = location.pop("address")
             item = DictParser.parse(location)
             self.extract_hours(item, location)
             yield from self.parse_item(item, location) or []
 
-            # Remove found location from the list of locations which
-            # are still waiting to be found.
-            if self.locations_found.get(location["id"]):
-                self.locations_found.pop(location["id"])
-
         # Get the next location to do a "nearest to" search from.
-        if len(self.locations_found) > 0:
-            next_search_location = self.locations_found.popitem()
-            yield JsonRequest(
-                url=self.url_nearest_to_template.format(
-                    self.key, self.api_version, next_search_location[1][0], next_search_location[1][1]
-                ),
-                callback=self.parse_locations,
-            )
+        yield self.get_next_location()
+
+    def get_next_location(self) -> JsonRequest:
+        if len(self.locations_found) == 0:
+            return
+        next_search_location_id = random.choice(list(self.locations_found))
+        next_search_location_coords = self.locations_found[next_search_location_id]
+        self.locations_found.pop(next_search_location_id)
+        return JsonRequest(
+            url=self.url_nearest_to_template.format(
+                self.key, self.api_version, next_search_location_coords[0], next_search_location_coords[1]
+            ),
+            callback=self.parse_locations,
+            dont_filter=True,
+        )
 
-    def extract_hours(self, item, location):
+    @staticmethod
+    def extract_hours(item: Feature, location: dict):
         item["opening_hours"] = OpeningHours()
         if location.get("open_status") == "twenty_four_hour":
             item["opening_hours"].add_days_range(DAYS, "00:00", "23:59")

{"golden_diff": "diff --git a/locations/storefinders/geo_me.py b/locations/storefinders/geo_me.py\n--- a/locations/storefinders/geo_me.py\n+++ b/locations/storefinders/geo_me.py\n@@ -1,3 +1,5 @@\n+import random\n+\n from scrapy import Spider\n from scrapy.http import JsonRequest\n from scrapy.signals import spider_idle\n@@ -62,41 +64,42 @@\n \n     def start_location_requests(self):\n         self.crawler.signals.disconnect(self.start_location_requests, signal=spider_idle)\n-        if len(self.locations_found) > 0:\n-            first_search_location = self.locations_found.popitem()\n-            first_request = JsonRequest(\n-                url=self.url_nearest_to_template.format(\n-                    self.key, self.api_version, first_search_location[1][0], first_search_location[1][1]\n-                ),\n-                callback=self.parse_locations,\n-            )\n-            self.crawler.engine.crawl(first_request)\n+        self.crawler.engine.crawl(self.get_next_location())\n \n     def parse_locations(self, response):\n         for location in response.json()[\"locations\"]:\n+            # Remove found location from the list of locations which\n+            # are still waiting to be found.\n+            if self.locations_found.get(location[\"id\"]):\n+                self.locations_found.pop(location[\"id\"])\n+\n             if location.get(\"inactive\"):\n                 continue\n+\n             location[\"street_address\"] = location.pop(\"address\")\n             item = DictParser.parse(location)\n             self.extract_hours(item, location)\n             yield from self.parse_item(item, location) or []\n \n-            # Remove found location from the list of locations which\n-            # are still waiting to be found.\n-            if self.locations_found.get(location[\"id\"]):\n-                self.locations_found.pop(location[\"id\"])\n-\n         # Get the next location to do a \"nearest to\" search from.\n-        if len(self.locations_found) > 0:\n-            next_search_location = self.locations_found.popitem()\n-            yield JsonRequest(\n-                url=self.url_nearest_to_template.format(\n-                    self.key, self.api_version, next_search_location[1][0], next_search_location[1][1]\n-                ),\n-                callback=self.parse_locations,\n-            )\n+        yield self.get_next_location()\n+\n+    def get_next_location(self) -> JsonRequest:\n+        if len(self.locations_found) == 0:\n+            return\n+        next_search_location_id = random.choice(list(self.locations_found))\n+        next_search_location_coords = self.locations_found[next_search_location_id]\n+        self.locations_found.pop(next_search_location_id)\n+        return JsonRequest(\n+            url=self.url_nearest_to_template.format(\n+                self.key, self.api_version, next_search_location_coords[0], next_search_location_coords[1]\n+            ),\n+            callback=self.parse_locations,\n+            dont_filter=True,\n+        )\n \n-    def extract_hours(self, item, location):\n+    @staticmethod\n+    def extract_hours(item: Feature, location: dict):\n         item[\"opening_hours\"] = OpeningHours()\n         if location.get(\"open_status\") == \"twenty_four_hour\":\n             item[\"opening_hours\"].add_days_range(DAYS, \"00:00\", \"23:59\")\n", "issue": "Shell spider doesn't return any results for Bulgaria\nThere are around 100 Shell gas stations in Bulgaria but none of them are shown in the latest spider result. They are listed on their Bulgarian website (https://www.shell.bg/motorists/shell-station-locator.html).\n", "before_files": [{"content": "from scrapy import Spider\nfrom scrapy.http import JsonRequest\nfrom scrapy.signals import spider_idle\n\nfrom locations.dict_parser import DictParser\nfrom locations.hours import DAYS, DAYS_EN, OpeningHours, day_range\nfrom locations.items import Feature\n\n# To use this store finder, specify key = x where x is the unique\n# identifier of the store finder in domain x.geoapp.me.\n#\n# It is likely there are additional fields of data worth extracting\n# from the store finder. These should be added by overriding the\n# parse_item function. Two parameters are passed, item (and ATP\n# \"Feature\" class) and location (a dict which is returned from the\n# store locator JSON response for a particular location).\n#\n# This spider has two crawling steps which are executed in order:\n# 1. Obtain list of all locations by using the API to do bounding\n#    box searches across the world. The only thing of interest\n#    returned for each location in this step is a unique identifier\n#    and coordinates.\n# 2. Iterating through the all locations list produced by step (1),\n#    request the nearest 50 (API limit) locations for each location\n#    in the all locations list. Remove from the all locations list\n#    and locations that were returned with a nearest location\n#    search. Repeat until the all locations list is empty. The\n#    nearest location search returns all details of a location.\n#\n# Note that due to the way the two crawling steps are required to\n# operate, numerous duplicate locations will be dropped during\n# extraction. It is common for locations to be present in more than\n# one nearby cluster of locations that the \"nearest to\" search\n# iterates through.\n\n\nclass GeoMeSpider(Spider):\n    key = \"\"\n    api_version = \"2\"\n    url_within_bounds_template = \"https://{}.geoapp.me/api/v{}/locations/within_bounds?sw[]={}&sw[]={}&ne[]={}&ne[]={}\"\n    url_nearest_to_template = \"https://{}.geoapp.me/api/v{}/locations/nearest_to?lat={}&lng={}&limit=50\"\n    locations_found = {}\n\n    def start_requests(self):\n        self.crawler.signals.connect(self.start_location_requests, signal=spider_idle)\n        yield JsonRequest(\n            url=self.url_within_bounds_template.format(self.key, self.api_version, -90, -180, 90, 180),\n            callback=self.parse_bounding_box,\n        )\n\n    def parse_bounding_box(self, response):\n        for cluster in response.json().get(\"clusters\", []):\n            if b := cluster.get(\"bounds\"):\n                yield JsonRequest(\n                    url=self.url_within_bounds_template.format(\n                        self.key, self.api_version, b[\"sw\"][0], b[\"sw\"][1], b[\"ne\"][0], b[\"ne\"][1]\n                    ),\n                    callback=self.parse_bounding_box,\n                )\n        for location in response.json().get(\"locations\", []):\n            self.locations_found[location[\"id\"]] = (float(location[\"lat\"]), float(location[\"lng\"]))\n\n    def start_location_requests(self):\n        self.crawler.signals.disconnect(self.start_location_requests, signal=spider_idle)\n        if len(self.locations_found) > 0:\n            first_search_location = self.locations_found.popitem()\n            first_request = JsonRequest(\n                url=self.url_nearest_to_template.format(\n                    self.key, self.api_version, first_search_location[1][0], first_search_location[1][1]\n                ),\n                callback=self.parse_locations,\n            )\n            self.crawler.engine.crawl(first_request)\n\n    def parse_locations(self, response):\n        for location in response.json()[\"locations\"]:\n            if location.get(\"inactive\"):\n                continue\n            location[\"street_address\"] = location.pop(\"address\")\n            item = DictParser.parse(location)\n            self.extract_hours(item, location)\n            yield from self.parse_item(item, location) or []\n\n            # Remove found location from the list of locations which\n            # are still waiting to be found.\n            if self.locations_found.get(location[\"id\"]):\n                self.locations_found.pop(location[\"id\"])\n\n        # Get the next location to do a \"nearest to\" search from.\n        if len(self.locations_found) > 0:\n            next_search_location = self.locations_found.popitem()\n            yield JsonRequest(\n                url=self.url_nearest_to_template.format(\n                    self.key, self.api_version, next_search_location[1][0], next_search_location[1][1]\n                ),\n                callback=self.parse_locations,\n            )\n\n    def extract_hours(self, item, location):\n        item[\"opening_hours\"] = OpeningHours()\n        if location.get(\"open_status\") == \"twenty_four_hour\":\n            item[\"opening_hours\"].add_days_range(DAYS, \"00:00\", \"23:59\")\n            return\n        open_hours = location.get(\"opening_hours\")\n        if not open_hours:\n            return\n        for spec in open_hours:\n            days = spec[\"days\"]\n            day_from = day_to = days[0]\n            if len(days) == 2:\n                day_to = days[1]\n            for day in day_range(DAYS_EN[day_from], DAYS_EN[day_to]):\n                for hours in spec[\"hours\"]:\n                    item[\"opening_hours\"].add_range(day, hours[0], hours[1])\n\n    def parse_item(self, item: Feature, location: dict, **kwargs):\n        yield item\n", "path": "locations/storefinders/geo_me.py"}], "after_files": [{"content": "import random\n\nfrom scrapy import Spider\nfrom scrapy.http import JsonRequest\nfrom scrapy.signals import spider_idle\n\nfrom locations.dict_parser import DictParser\nfrom locations.hours import DAYS, DAYS_EN, OpeningHours, day_range\nfrom locations.items import Feature\n\n# To use this store finder, specify key = x where x is the unique\n# identifier of the store finder in domain x.geoapp.me.\n#\n# It is likely there are additional fields of data worth extracting\n# from the store finder. These should be added by overriding the\n# parse_item function. Two parameters are passed, item (and ATP\n# \"Feature\" class) and location (a dict which is returned from the\n# store locator JSON response for a particular location).\n#\n# This spider has two crawling steps which are executed in order:\n# 1. Obtain list of all locations by using the API to do bounding\n#    box searches across the world. The only thing of interest\n#    returned for each location in this step is a unique identifier\n#    and coordinates.\n# 2. Iterating through the all locations list produced by step (1),\n#    request the nearest 50 (API limit) locations for each location\n#    in the all locations list. Remove from the all locations list\n#    and locations that were returned with a nearest location\n#    search. Repeat until the all locations list is empty. The\n#    nearest location search returns all details of a location.\n#\n# Note that due to the way the two crawling steps are required to\n# operate, numerous duplicate locations will be dropped during\n# extraction. It is common for locations to be present in more than\n# one nearby cluster of locations that the \"nearest to\" search\n# iterates through.\n\n\nclass GeoMeSpider(Spider):\n    key = \"\"\n    api_version = \"2\"\n    url_within_bounds_template = \"https://{}.geoapp.me/api/v{}/locations/within_bounds?sw[]={}&sw[]={}&ne[]={}&ne[]={}\"\n    url_nearest_to_template = \"https://{}.geoapp.me/api/v{}/locations/nearest_to?lat={}&lng={}&limit=50\"\n    locations_found = {}\n\n    def start_requests(self):\n        self.crawler.signals.connect(self.start_location_requests, signal=spider_idle)\n        yield JsonRequest(\n            url=self.url_within_bounds_template.format(self.key, self.api_version, -90, -180, 90, 180),\n            callback=self.parse_bounding_box,\n        )\n\n    def parse_bounding_box(self, response):\n        for cluster in response.json().get(\"clusters\", []):\n            if b := cluster.get(\"bounds\"):\n                yield JsonRequest(\n                    url=self.url_within_bounds_template.format(\n                        self.key, self.api_version, b[\"sw\"][0], b[\"sw\"][1], b[\"ne\"][0], b[\"ne\"][1]\n                    ),\n                    callback=self.parse_bounding_box,\n                )\n        for location in response.json().get(\"locations\", []):\n            self.locations_found[location[\"id\"]] = (float(location[\"lat\"]), float(location[\"lng\"]))\n\n    def start_location_requests(self):\n        self.crawler.signals.disconnect(self.start_location_requests, signal=spider_idle)\n        self.crawler.engine.crawl(self.get_next_location())\n\n    def parse_locations(self, response):\n        for location in response.json()[\"locations\"]:\n            # Remove found location from the list of locations which\n            # are still waiting to be found.\n            if self.locations_found.get(location[\"id\"]):\n                self.locations_found.pop(location[\"id\"])\n\n            if location.get(\"inactive\"):\n                continue\n\n            location[\"street_address\"] = location.pop(\"address\")\n            item = DictParser.parse(location)\n            self.extract_hours(item, location)\n            yield from self.parse_item(item, location) or []\n\n        # Get the next location to do a \"nearest to\" search from.\n        yield self.get_next_location()\n\n    def get_next_location(self) -> JsonRequest:\n        if len(self.locations_found) == 0:\n            return\n        next_search_location_id = random.choice(list(self.locations_found))\n        next_search_location_coords = self.locations_found[next_search_location_id]\n        self.locations_found.pop(next_search_location_id)\n        return JsonRequest(\n            url=self.url_nearest_to_template.format(\n                self.key, self.api_version, next_search_location_coords[0], next_search_location_coords[1]\n            ),\n            callback=self.parse_locations,\n            dont_filter=True,\n        )\n\n    @staticmethod\n    def extract_hours(item: Feature, location: dict):\n        item[\"opening_hours\"] = OpeningHours()\n        if location.get(\"open_status\") == \"twenty_four_hour\":\n            item[\"opening_hours\"].add_days_range(DAYS, \"00:00\", \"23:59\")\n            return\n        open_hours = location.get(\"opening_hours\")\n        if not open_hours:\n            return\n        for spec in open_hours:\n            days = spec[\"days\"]\n            day_from = day_to = days[0]\n            if len(days) == 2:\n                day_to = days[1]\n            for day in day_range(DAYS_EN[day_from], DAYS_EN[day_to]):\n                for hours in spec[\"hours\"]:\n                    item[\"opening_hours\"].add_range(day, hours[0], hours[1])\n\n    def parse_item(self, item: Feature, location: dict, **kwargs):\n        yield item\n", "path": "locations/storefinders/geo_me.py"}]}