diff --git a/src/webtranspose/scrape.py b/src/webtranspose/scrape.py index c8c2d4b..86479ba 100644 --- a/src/webtranspose/scrape.py +++ b/src/webtranspose/scrape.py @@ -50,8 +50,7 @@ def __init__( self.scraper_id = scraper_id if self.scraper is None: self.scraper = OpenAIScraper() - self.scraper_id = None - if self.api_key is None: + if self.scraper_id is None: self.scraper_id = str(uuid.uuid4()) self.created = _created