Spaces:
Running
Running
Update turbowarp-server/qr-converter.py
Browse files
turbowarp-server/qr-converter.py
CHANGED
|
@@ -60,7 +60,7 @@ while True:
|
|
| 60 |
# APIアクセス
|
| 61 |
url = f"https://20.rf.gd/set.php?project_id={content}"
|
| 62 |
try:
|
| 63 |
-
res = requests.get(url, timeout=5)
|
| 64 |
res.raise_for_status()
|
| 65 |
data = res.json()
|
| 66 |
short_id = data.get("short_id", "000")
|
|
|
|
| 60 |
# APIアクセス
|
| 61 |
url = f"https://20.rf.gd/set.php?project_id={content}"
|
| 62 |
try:
|
| 63 |
+
res = requests.get(url, cookies={"__test": "872039d283902860e895efb6018d2632"}, timeout=5)
|
| 64 |
res.raise_for_status()
|
| 65 |
data = res.json()
|
| 66 |
short_id = data.get("short_id", "000")
|