Skip to content

Commit

Permalink
clean todo
Browse files Browse the repository at this point in the history
  • Loading branch information
PyExplorer committed Dec 12, 2024
1 parent 951bcd7 commit 68371f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zyte_spider_templates/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ def get_spider_name(crawler: Crawler) -> str:

def get_client() -> scrapinghub.ScrapinghubClient:
# auth is taken from SH_APIKEY or SHUB_JOBAUTH
# TODO TESTING
logger.info(f"SHUB_APIURL: {os.getenv('SHUB_APIURL')}, SHUB_STORAGE: {os.getenv('SHUB_STORAGE')}") # type: ignore[union-attr]
return scrapinghub.ScrapinghubClient(
dash_endpoint=os.getenv("SHUB_APIURL"),
endpoint=os.getenv("SHUB_STORAGE"),
Expand Down

0 comments on commit 68371f2

Please sign in to comment.