Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
laozhoubuluo authored Feb 16, 2024
1 parent f8dd399 commit 193501e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def _open(url, reg, sock):
res = urlopen(
Request(url, headers={'User-Agent': 'curl/7.63.0-ddns'}), timeout=60
).read().decode('utf8', 'ignore')
print("response: %s", res)
debug("response: %s", res)
return compile(reg).search(res).group()
except Exception as e:
error(e)

Expand Down

0 comments on commit 193501e

Please sign in to comment.