Spaces:
Running
Running
Update extract_m3u8.py
Browse files- extract_m3u8.py +2 -2
extract_m3u8.py
CHANGED
@@ -37,8 +37,8 @@ def extract_m3u8_urls(url, wait_time=10, headers=None):
|
|
37 |
# Habilitar registro de red
|
38 |
chrome_options.set_capability("goog:loggingPrefs", {"performance": "ALL"})
|
39 |
|
40 |
-
# Iniciar navegador
|
41 |
-
service = Service()
|
42 |
driver = webdriver.Chrome(service=service, options=chrome_options)
|
43 |
|
44 |
try:
|
|
|
37 |
# Habilitar registro de red
|
38 |
chrome_options.set_capability("goog:loggingPrefs", {"performance": "ALL"})
|
39 |
|
40 |
+
# Iniciar navegador usando ChromeDriverManager para gestionar la instalaci贸n del driver
|
41 |
+
service = Service(ChromeDriverManager().install())
|
42 |
driver = webdriver.Chrome(service=service, options=chrome_options)
|
43 |
|
44 |
try:
|