Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from fastapi import FastAPI, Request
|
|
4 |
import uvicorn
|
5 |
import time
|
6 |
import json
|
7 |
-
from urllib.parse import unquote, urlparse
|
8 |
|
9 |
app = FastAPI()
|
10 |
|
@@ -99,7 +99,7 @@ def chrome(url:str=None,wait:int=5,header:str=None,cookie:str=None):
|
|
99 |
|
100 |
driver.add_cookie({
|
101 |
'name': 'htVC_2132_lastact',
|
102 |
-
'value': '1718814400
|
103 |
'domain': '.52pojie.cn',
|
104 |
'path': '/'
|
105 |
})
|
|
|
4 |
import uvicorn
|
5 |
import time
|
6 |
import json
|
7 |
+
from urllib.parse import unquote, urlparse, quote
|
8 |
|
9 |
app = FastAPI()
|
10 |
|
|
|
99 |
|
100 |
driver.add_cookie({
|
101 |
'name': 'htVC_2132_lastact',
|
102 |
+
'value': quote('1718814400\tmember'),
|
103 |
'domain': '.52pojie.cn',
|
104 |
'path': '/'
|
105 |
})
|