Spaces:
Sleeping
Sleeping
ksvmuralidhar
commited on
Commit
•
486eae8
1
Parent(s):
2c8d4d1
Update scraper.py
Browse files- scraper.py +2 -2
scraper.py
CHANGED
@@ -27,8 +27,8 @@ def get_text(url, n_words=15):
|
|
27 |
options = uc.ChromeOptions()
|
28 |
options.add_argument("--headless")
|
29 |
options.add_argument(f"user-agent={user_agent}")
|
30 |
-
options.add_argument("--blink-settings=imagesEnabled=false")
|
31 |
-
options.add_argument("--disable-images")
|
32 |
options.add_argument("--disable-blink-features=AutomationControlled")
|
33 |
options.add_argument("--disable-dev-shm-usage")
|
34 |
|
|
|
27 |
options = uc.ChromeOptions()
|
28 |
options.add_argument("--headless")
|
29 |
options.add_argument(f"user-agent={user_agent}")
|
30 |
+
# options.add_argument("--blink-settings=imagesEnabled=false")
|
31 |
+
# options.add_argument("--disable-images")
|
32 |
options.add_argument("--disable-blink-features=AutomationControlled")
|
33 |
options.add_argument("--disable-dev-shm-usage")
|
34 |
|