Merge pull request #33 from HChaZZY/main

fix: Add Content-Type header to request
This commit is contained in:
yowiv
2025-07-09 02:03:00 +08:00
committed by GitHub

View File

@@ -225,6 +225,7 @@ def sign(ns_cookie, ns_random):
'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0", 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0",
'origin': "https://www.nodeseek.com", 'origin': "https://www.nodeseek.com",
'referer': "https://www.nodeseek.com/board", 'referer': "https://www.nodeseek.com/board",
'Content-Type': 'application/json',
'Cookie': ns_cookie 'Cookie': ns_cookie
} }
try: try: