Spaces:
Paused
Paused
Update run.py
Browse files
run.py
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import undetected_chromedriver as uc
|
| 2 |
+
from selenium import webdriver
|
| 3 |
|
| 4 |
+
options = webdriver.ChromeOptions()
|
| 5 |
+
options.headless = True
|
| 6 |
+
options.add_argument("start-maximized")
|
| 7 |
+
options.add_experimental_option("excludeSwitches", ["enable-automation"])
|
| 8 |
+
options.add_experimental_option('useAutomationExtension', False)
|
| 9 |
+
driver = uc.Chrome(options=options)
|
| 10 |
+
driver.get('https://d000d.com/e/9b3w45p3h2gz')
|