blob: c12962290ede97c74b8ef21b2328eed0209d1525 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
system = require 'system'
[_, login_page, username, password] = system.args
util = require './util'
page = util.page
page.open login_page, (status)->
util.log "Opening login page: #{status}"
util.handle_login_captcha ->
phantom.exit()
, username, password
|