Skip to content

Commit 193609e

Browse files
committed
fix typing
Signed-off-by: John Seekins <[email protected]>
1 parent f151363 commit 193609e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scraper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,13 +283,13 @@ def _get_scrape_pages(self) -> list:
283283
links = soup.findAll("a", href=re.compile(r"\?page="))
284284
if not links:
285285
raise Exception(f"{self.base_scrape_url} contains *no* links?!")
286-
links = [
286+
pages = [
287287
f"{self.base_scrape_url}{link['href']}&exposed_form_display=1"
288288
for link in links
289289
if not any(k in link["aria-label"] for k in ["Next", "Last"])
290290
]
291-
logger.debug("Pages discovered: %s", links)
292-
return links
291+
logger.debug("Pages discovered: %s", pages)
292+
return pages
293293

294294
def scrape_facilities(self):
295295
"""Scrape all ICE detention facility data from all 6 pages"""

0 commit comments

Comments
 (0)