Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lpxks authored Jul 8, 2024
1 parent 696192e commit 771f1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def push(content):
total_html = session.get(url = user_url,headers = header).text;
total = re.findall('<span class="counter">(.*?)</span> GB', total_html, re.S);
# 进行推送
content = '签到前剩余: ' + remain[0] + 'GB ' + content + ' 当前总共剩余: ' + total[0] + 'GB';
content = '签到前剩余总流量: ' + remain[0] + 'GB\n' + content + '\n当前剩余总流量: ' + total[0] + 'GB';
push(content)
except:
content = '签到失败'
Expand Down

0 comments on commit 771f1b9

Please sign in to comment.