Skip to content

Commit

Permalink
Merge pull request #99 from Gallaecio/log-version
Browse files Browse the repository at this point in the history
Log version
  • Loading branch information
kmike authored Dec 13, 2024
2 parents 6a8b74f + 9548ea6 commit 552223e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions zyte_spider_templates/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
from importlib.metadata import version
from logging import getLogger

from .spiders.base import BaseSpider, BaseSpiderParams
from .spiders.ecommerce import EcommerceSpider
from .spiders.serp import GoogleSearchSpider

logger = getLogger(__name__)
package = "zyte-spider-templates"
logger.info(f"Running {package} {version(package)}")

0 comments on commit 552223e

Please sign in to comment.