Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TODO bypass
- require 'net/http'
- require 'uri'
- uri = URI.parse("https://www.anjay.info/communication-of-spatial-concepts/")
- request = Net::HTTP::Post.new(uri)
- request.set_form_data(
- "eastsafelink_id" => "VWErNWlBZmpCUlMvT0pxVHE3YS84ajdXMFpNc2JGQTZNaUZOMFVKTEdmTWlYM2pSeURSYnF1SUkyYlhEbFZCbQ=="
- )
- response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
- http.request(request)
- end
- puts response.body.match(/var a='(.*?)'/).captures
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement