Crawlee's Compatibility with Kivy

Hey all,
I was wondering if there are any specific compatibility issues with using crawlee within a kivy app, because whenever I run the script attached to grab the name of a product in amazon, it gives a recursion error that stems within the default_handler, specifically when the url is pulled from the context.

FWIW, the UI pipeline is App -> ScreenManager -> Main Screen & Second Screen, wherein the main screen transitions to the second screen via switch_to()

unfortunately this is one of those problems that are very out of my depth, so if i'm missing some crucial information please let me know. also there's a lot of imports that are technically redundant, but that's mostly because the script is a trimmed down version of the main file
Solution
Hey, @Glitchy_mess

Try adding
configure_logging=False
when initializing the crawler.

crawler = PlaywrightCrawler(
                        use_session_pool=True, 
                        max_session_rotations=0,
                        browser_pool=browserPoolVar,
                        session_pool=SessionPool(max_pool_size=1),
                        configure_logging=False
                        )
Was this page helpful?