Skip to content

Commit

Permalink
+ gdeposylka.ru postal tracking service
Browse files Browse the repository at this point in the history
  • Loading branch information
l29ah committed Aug 20, 2012
1 parent a70d92d commit 0c53dcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gdeposylka.ru/gdeposylka
@@ -0,0 +1,4 @@
#!/bin/bash
c="`tempfile`"
trap "rm \"$c\"" EXIT
curl -b "$c" -s http://gdeposylka.ru/ -d "token=$(curl -c "$c" -s http://gdeposylka.ru/ | sed -ne 's#.*name="token" value="\([^"]*\)">.*#\1#p')&track_origin=UPU&track_id=$1" | grep 'span class="key"' | sed 's#<[^>]*>##g;s# ##g' | head -n -2

0 comments on commit 0c53dcd

Please sign in to comment.