Update app.py
Browse files
app.py
CHANGED
@@ -338,8 +338,12 @@ elif page== "馃搳 Tabular Data":
|
|
338 |
|
339 |
|
340 |
# 馃搨 Define the path for the coockies
|
341 |
-
|
342 |
-
|
|
|
|
|
|
|
|
|
343 |
|
344 |
# Log in and save cookies
|
345 |
try:
|
|
|
338 |
|
339 |
|
340 |
# 馃搨 Define the path for the coockies
|
341 |
+
import shutil
|
342 |
+
|
343 |
+
cookie_path_dir = "./cookies_snapshot"
|
344 |
+
shutil.rmtree(cookie_path_dir, ignore_errors=True) # Remove a pasta e os cookies
|
345 |
+
os.makedirs(cookie_path_dir, exist_ok=True) # Cria novamente
|
346 |
+
|
347 |
|
348 |
# Log in and save cookies
|
349 |
try:
|