anapssung wegen models
This commit is contained in:
parent
150c412600
commit
c5715c1062
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue