Skip to content
Browse files

Added working netbynet.ru yaml

  • Loading branch information...
1 parent 0c05c9f commit d30af98bf701d9b73e877ede8cbe972a935800e8 @GreyCat committed Dec 22, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 services/netbynet.ru.yaml
View
18 services/netbynet.ru.yaml
@@ -0,0 +1,18 @@
+input:
+ login: string
+ password: password
+output:
+ daysleft: int32
+algorithm:
+ -
+ command: http_get
+ url: http://stat.netbynet.ru/
+ -
+ command: http_post
+ post_data: login=#{login}&password=#{password}
+ url: http://stat.netbynet.ru/main
+ -
+ command: grab
+ regexp: 'Осталось: <b>(\d+)</b> д'
+ output:
+ 1: daysleft

0 comments on commit d30af98

Please sign in to comment.
Something went wrong with that request. Please try again.