Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions crawler/collectors/bis.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@


BASE_URL = "https://www.bis.gov"
START_URL = "https://www.bis.gov/news-updates"
START_URL = f"{BASE_URL}/news-updates"

HEADLESS = True
WAIT_SEC = 15
Expand Down Expand Up @@ -141,8 +141,6 @@ def extract_card_links_from_page(driver: webdriver.Chrome) -> List[Dict]:
title_tag = a_tag.find("h3")
if title_tag:
title = clean_text(title_tag.get_text(" ", strip=True))
else:
title = clean_text(a_tag.get_text(" ", strip=True))

if not title:
continue
Expand Down
Loading