update parser.rb to accept full URLs as arguments