Skip to content

Commit

Permalink
fix 403
Browse files Browse the repository at this point in the history
  • Loading branch information
caorong committed Jul 17, 2017
1 parent 1207e79 commit 8a96130
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified ipip.alfredworkflow
Binary file not shown.
2 changes: 1 addition & 1 deletion ipip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

ip='{query}'

result=$(curl -s https://www.ipip.net/ip.html -H "User-Agent: Safari/537.36" -H "Referer: https://www.ipip.net/ip.html" --data "ip=${ip}" --compressed)
result=$(curl -s https://www.ipip.net/ip.html -H "User-Agent: Safari/537.36" -H "Referer: https://www.ipip.net/" --data "ip=${ip}" --compressed)

/bin/echo '<?xml version="1.0"?>'
/bin/echo '<items>'
Expand Down

0 comments on commit 8a96130

Please sign in to comment.