Skip to content
Browse files

Rewrote skype.com monitor to use grab() function

  • Loading branch information...
1 parent 75d4344 commit 1150c68d982f5065abb91884d0b1166f8ae93cd7 @GreyCat committed Dec 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 services/skype.com/monitor
View
2 services/skype.com/monitor
@@ -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.
Something went wrong with that request. Please try again.