rgfewfger
This commit is contained in:
@@ -281,11 +281,17 @@ class Hub_Web:
|
||||
res = tab.listen.wait() # 等待并获取一个数据包
|
||||
for i in res.response.body["data"]['user']['result']["timeline"]['timeline']["instructions"][1]["entries"]:
|
||||
if "tweet" in i["entryId"]:
|
||||
url_id += i["sortIndex"] + ";"
|
||||
url_id += i["content"]['itemContent']['result']["rest_id"] + ";"
|
||||
|
||||
self.xstart_info.url_id = url_id
|
||||
self.xstart_info.save()
|
||||
|
||||
def to_li(self):
|
||||
|
||||
xtoken_info = XToken.select().order_by(fn.Rand()).get()
|
||||
|
||||
tab = self.page.new_tab(url=f"https://x.com/{xtoken_info.user_name}/status/1953824114893877494")
|
||||
|
||||
def action(self):
|
||||
|
||||
self.ips_info = Ips.select().order_by(fn.Rand()).get()
|
||||
|
||||
Reference in New Issue
Block a user