title: Instagram user page parsing (with proxy, without API)
body: <p>I need to parse instagram user page without API and with proxy, and I use code like below</p>
  
  <pre class="lang-rb prettyprint-override"><code>def client(options = {})
    Faraday.new('https://www.instagram.com', ssl: { verify: false }, request: { timeout: 10 }) do |conn|
      conn.request :url_encoded
      conn.proxy options[:proxy]
      conn.adapter :net_http
    end
  end
  
  response = client.get('some_username/', proxy: URI('//111.111.111.111:8080'))
  
  response.status # 302
  response['location'] # "https://www.instagram.com/accounts/login/"
  </code></pre>
  
  <p>But previously, just a few days ago, code above worked as expected, i.e. had return 200 status and body with user page. Moreover code <code>Faraday.get('https://www.instagram.com/some_username/')</code> without proxy works fine, i.e. returns 200 status and body with user page. I've also tried the same by other clients, and result the same, success without proxy and redirect with it.</p>
  
  <p>Client needs some additional specific configuration for working with proxy, maybe?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I'm not sure, but it looks like a problem with proxy, i.e. instagram somehow detects buyed/free proxies, maybe, and redirects requests fromt thats proxies (I've used buyed pack of proxies), because I've tried to use my own proxy and it's works.</p>