Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

Commit

Permalink
fixed successful transfer detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lg committed Dec 4, 2010
1 parent aa89015 commit 1079381
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions README.md
@@ -1,4 +1,4 @@
Venmom 0.04 by Larry Gadea <trivex@gmail.com>.
Venmom by Larry Gadea <trivex@gmail.com>.

This script will transfer your Venmo balance to your real bank account. It should be
safe to put this on a nightly cron.
Expand Down Expand Up @@ -27,10 +27,11 @@ QUICK START
CHANGELOG
---------

- 0.01 - 2010-06-07 - Initial version
- 0.02 - 2010-07-23 - Fixed an ip detection bug. Confirmed working on latest venmo UI.
- 0.03 - 2010-08-10 - Fixed balance parsing caused by Venmo update.
- 0.04 - 2010-09-19 - Added prompt for username/password if no default.
- 2010-06-07 - Initial version
- 2010-07-23 - Fixed an ip detection bug. Confirmed working on latest venmo UI.
- 2010-08-10 - Fixed balance parsing caused by Venmo update.
- 2010-09-19 - Added prompt for username/password if no default.
- 2010-12-04 - Fixed detection of successful transfer.

LEGAL
-----
Expand Down
4 changes: 2 additions & 2 deletions venmom.py
@@ -1,4 +1,4 @@
# Venmom 0.04 by Larry Gadea <trivex@gmail.com>.
# Venmom by Larry Gadea <trivex@gmail.com>.

USERNAME = "" #can also be your phone number
PASSWORD = ""
Expand Down Expand Up @@ -100,7 +100,7 @@ def http_error_302(self, req, fp, code, msg, headers):
)
res = urllib2.urlopen(req).read()

if "Details of your confirmed withdrawal request" not in res:
if "Successfully requested direct deposit." not in res:
print "Failed to do the transfer"
else:
print "Success -- Transferred $%s!" % balance

0 comments on commit 1079381

Please sign in to comment.