diff --git a/推特/main.py b/推特/main.py index b373cd9..fcfbbe2 100644 --- a/推特/main.py +++ b/推特/main.py @@ -285,7 +285,8 @@ class Hub_Web: for i in res.response.body["data"]['user']['result']["timeline"]['timeline']["instructions"][1][ "entries"]: if "tweet" in i["entryId"]: - url_id += i["content"]['itemContent']['result']["rest_id"] + ";" + new_string = i["entryId"].replace("tweet-", "") + url_id += new_string + ";" break except: