Skip to content

Python scraper based on AI

updated requirements.txt

Santabot12390d75498fcd0
diff --git a/requirements.txt b/requirements.txt
index 21c2fd3b..2afddff8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -25,3 +25,5 @@ google>=3.0.0
undetected-playwright>=0.3.0
semchunk>=1.0.1
browserbase>=0.3.0
+surya-ocr>=0.4.5
+matplotlib>=3.7.2
\ No newline at end of file
diff --git a/saved_screenshots/image.jpeg b/saved_screenshots/image.jpeg
deleted file mode 100644
index a3cbda10..00000000
Binary files a/saved_screenshots/image.jpeg and /dev/null differ
diff --git a/scrapegraphai/screenshot_scraping/screenshot_preparation.py b/scrapegraphai/screenshot_scraping/screenshot_preparation.py
index ee9252e7..44b2c786 100644
--- a/scrapegraphai/screenshot_scraping/screenshot_preparation.py
+++ b/scrapegraphai/screenshot_scraping/screenshot_preparation.py
@@ -210,6 +210,3 @@ def crop_image(image, LEFT=None, TOP=None, RIGHT=None, BOTTOM=None, save_path:
return image.crop((LEFT, TOP, RIGHT, BOTTOM))
-
-# image=asyncio.run(take_screenshot("https://unix.stackexchange.com/questions/690233/piping-yes-when-running-scripts-from-curl", save_path="saved_screenshots/image.jpeg"))
-# print(select_area_with_ipywidget(image))
\ No newline at end of file