Skip to content

Commit

Permalink
Rewrote skype.com monitor to use grab() function
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyCat committed Dec 18, 2011
1 parent 75d4344 commit 1150c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/skype.com/monitor
Expand Up @@ -10,4 +10,4 @@ request -O $TM/2.html --post-data="username=$LOGIN&password=$PASSWORD" https://l

# <span id="balanceAmount"><span class='ccy'>&#36;</span>12.34</span>

sed -ne '/<span id="balanceAmount">/ { s/^\s*<span id="balanceAmount">.*>\([0-9.]*\)<.*$/\1/; p }' <$TM/2.html
grab '<span id="balanceAmount">.*>([0-9.]*)<' 1 <$TM/2.html

0 comments on commit 1150c68

Please sign in to comment.