anapssung wegen models

This commit is contained in:
Czechman 2025-02-16 15:24:10 +01:00
parent 150c412600
commit c5715c1062
1 changed files with 3 additions and 1 deletions

View File

@ -1,11 +1,13 @@
# bundle_checker.py # bundle_checker.py
import logging import logging
from bundle_parser import BundleParser from bundle_parser import BundleParser
from models import Base, Bundle, BundleVersion, BundleSalesHistory, BundleItem
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
def main(): def main():
url = "https://www.humblebundle.com/some-bundle-url" url = "https://www.humblebundle.com/bundles"
parser = BundleParser(url, category="books") parser = BundleParser(url, category="books")
try: try:
bundle_data = parser.get_relevant_bundle_data() bundle_data = parser.get_relevant_bundle_data()