One thought on “My road-trip mix tape

  1. #!/usr/bin/ruby
    require 'rubygems'
    require 'mechanize'
    require 'pp'
    service_username = "the user"
    service_password = 'the password'
    agent =
    agent.user_agent_alias = 'Mac Safari'
    page = agent.get('')
    form = page.forms[3]"username").value = service_username"password").value = service_password
    result = agent.submit form

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.