Spaces:
Running
Running
Update turbowarp-server/qr-converter.py
Browse files
turbowarp-server/qr-converter.py
CHANGED
|
@@ -106,7 +106,7 @@ while True:
|
|
| 106 |
# サーバーにID送信してレスポンス取得
|
| 107 |
try:
|
| 108 |
url = f"https://20.rf.gd/set.php?project_id={received_id}"
|
| 109 |
-
r = requests.get(url, timeout=10)
|
| 110 |
r.raise_for_status()
|
| 111 |
response_json = r.json()
|
| 112 |
short_id = response_json.get("short_id", "0") # short_idがなければ"0"
|
|
|
|
| 106 |
# サーバーにID送信してレスポンス取得
|
| 107 |
try:
|
| 108 |
url = f"https://20.rf.gd/set.php?project_id={received_id}"
|
| 109 |
+
r = requests.get(url, timeout=10, cookies={"__test": "872039d283902860e895efb6018d2632"},)
|
| 110 |
r.raise_for_status()
|
| 111 |
response_json = r.json()
|
| 112 |
short_id = response_json.get("short_id", "0") # short_idがなければ"0"
|