Continue seeded Qinglong script collection
This commit is contained in:
52
脚本库/web版/抓包/租号玩/2025-10-28_租号玩_2aec8dfd.py
Normal file
52
脚本库/web版/抓包/租号玩/2025-10-28_租号玩_2aec8dfd.py
Normal file
@@ -0,0 +1,52 @@
|
||||
# Source: https://github.com/NaroisCool/naro-scripts/blob/master/%E7%A7%9F%E5%8F%B7%E7%8E%A9.py
|
||||
# Raw: https://raw.githubusercontent.com/NaroisCool/naro-scripts/master/%E7%A7%9F%E5%8F%B7%E7%8E%A9.py
|
||||
# Repo: NaroisCool/naro-scripts
|
||||
# Path: 租号玩.py
|
||||
# UploadedAt: 2025-10-28T05:54:28+08:00
|
||||
# SHA256: 2aec8dfd65479e6f5c9cc177f04163c6037f132718581e46002612a3d5536ece
|
||||
# Category: web版/抓包
|
||||
# Evidence: web/H5关键词 + cookie/token/header
|
||||
|
||||
#租号玩自动上线下线擦亮卖家出租号
|
||||
import requests
|
||||
import os
|
||||
import time
|
||||
|
||||
def offRent():
|
||||
url = 'https://www.zuhaowan.com/Account/offRent.html'
|
||||
cookie = os.environ['ZuHaoWan']
|
||||
headers = {
|
||||
'Accept': '*/*',
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Accept-Language': 'zh-cn',
|
||||
'Accept-Encoding': 'gzip, deflate, br',
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
|
||||
'Connection': 'keep-alive',
|
||||
'Cookie': cookie
|
||||
}
|
||||
res = requests.post(url=url, headers=headers, data='id=10284948&accountsign=')
|
||||
print(res.json().get('message'))
|
||||
|
||||
def onRent():
|
||||
url = 'https://www.zuhaowan.com/Account/onRent.html'
|
||||
cookie = os.environ['ZuHaoWan']
|
||||
headers = {
|
||||
'Accept': '*/*',
|
||||
'X-Requested-With': 'XMLHttpRequest',
|
||||
'Accept-Language': 'zh-cn',
|
||||
'Accept-Encoding': 'gzip, deflate, br',
|
||||
'Content-Type': 'application/x-www-form-urlencoded',
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
|
||||
'Connection': 'keep-alive',
|
||||
'Cookie': cookie
|
||||
}
|
||||
res = requests.post(url=url, headers=headers, data='id=10284948&accountsign=')
|
||||
print(res.json().get('message'))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
offRent()
|
||||
time.sleep(2)
|
||||
onRent()
|
||||
#sold_out()
|
||||
Reference in New Issue
Block a user