e
This commit is contained in:
parent
69cf0b4754
commit
00000d9b81
9 changed files with 30 additions and 8 deletions
|
|
@ -25,6 +25,7 @@ async def get_events(
|
|||
base_url: str,
|
||||
cached_hrefs: set[str],
|
||||
) -> list[dict[str, str]]:
|
||||
|
||||
log.info(f'Scraping from "{base_url}"')
|
||||
|
||||
try:
|
||||
|
|
@ -80,6 +81,7 @@ async def process_event(
|
|||
url: str,
|
||||
url_num: int,
|
||||
) -> tuple[str, str]:
|
||||
|
||||
try:
|
||||
r = await client.get(url)
|
||||
r.raise_for_status()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue