Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,8 +15,8 @@ from selenium.webdriver.common.by import By
|
|
| 15 |
driver_type = 'chromedriver'
|
| 16 |
driver=False
|
| 17 |
def run_script(html: str):
|
| 18 |
-
regex = r"^(https?://)"
|
| 19 |
-
is_url = re.search(regex, text)
|
| 20 |
is_url=True
|
| 21 |
if is_url:
|
| 22 |
options = webdriver.ChromeOptions()
|
|
|
|
| 15 |
driver_type = 'chromedriver'
|
| 16 |
driver=False
|
| 17 |
def run_script(html: str):
|
| 18 |
+
#regex = r"^(https?://)"
|
| 19 |
+
#is_url = re.search(regex, text)
|
| 20 |
is_url=True
|
| 21 |
if is_url:
|
| 22 |
options = webdriver.ChromeOptions()
|