🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix: fix for shell imported by mistake issue (#76)
Karim shoairaf9a62a5393f
diff --git a/scrapling/core/shell.py b/scrapling/core/shell.pyindex 0125ee0..24e504c 100644--- a/scrapling/core/shell.py+++ b/scrapling/core/shell.py@@ -20,7 +20,6 @@ from logging import (getLevelName,)-from IPython.terminal.embed import InteractiveShellEmbedfrom orjson import loads as json_loads, JSONDecodeErrorfrom scrapling import __version__@@ -394,8 +393,7 @@ class CurlParser:else: # pragma: no coverlog.error("Input must be a valid curl command string or a Request object.")-- return None+ return Nonedef show_page_in_browser(page: Selector): # pragma: no cover@@ -544,6 +542,8 @@ Type 'exit' or press Ctrl+D to exit.def start(self): # pragma: no cover"""Start the interactive shell"""+ from IPython.terminal.embed import InteractiveShellEmbed+# Get our namespace with application objectsnamespace = self.get_namespace()ipython_shell = InteractiveShellEmbed(