This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env ruby | |
# encoding: utf-8 | |
# This is just a proof of concept, not for general usage. | |
require 'rubygems' | |
require 'mechanize' | |
last_fm_url = 'http://last.fm/user/' | |
user = ARGV[0] | |
a = Mechanize.new { |agent| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env ruby | |
# encoding: utf-8 | |
# Requirements: Ruby, Highline Gem, Mechanize Gem | |
require 'rubygems' | |
require 'mechanize' | |
require 'highline/import' | |
#Keep in mind, this setting is evil. But well.. | |
I_KNOW_THAT_OPENSSL_VERIFY_PEER_EQUALS_VERIFY_NONE_IS_WRONG = nil |