title: How to suppress cookie request
body: <p>I am using vba inside of Excel 2013 to scrape data off of Yahoo Option Contract and while I do get the data, I also get multiple requests to accept a cookie (see dialog below).</p>
  
  <p>I tried accepting this to see if it would prevent further popups but no such luck. How can I suppress the dialog?</p>
  
  <p>As an aside, I'm pretty sure there is an api for yahoo_option_contract that would serve up some cookie free xml but I couldn't get it to work. Can anyone verify that is does work and provide a link that explains how to use it?</p>
  
  <p>Cheers</p>
  
  <p><img src="https://i.stack.imgur.com/AQLAQ.jpg" alt="enter image description here"></p>
  
  <p><strong>MORE INFO</strong></p>
  
  <p>Here is a <a href="http://finance.yahoo.com/q?s=GM150320C00040000" rel="nofollow noreferrer">sample link to yahoo's site</a>. It also happens that I show most of my code and scrape strategy at the bottom of a <a href="https://stackoverflow.com/questions/28575063/how-to-get-at-this-data/28575531#28575531">previous SO post</a></p>
  
  <p><strong>UPDATE</strong></p>
  
  <pre><code>Set http = New MSXML2.XMLHTTP60
  With http
      .Open "GET", aUrl, False
      .send
      Do Until .readyState = 4
          DoEvents
      Loop
  End With
  
  Select Case http.Status
      Case Is = 200
          Set GetHttp = http
      Case Else
          err.Raise Number:=ERR_WEB_CONNECTION, _
              Description:="Bad Response " &amp; http.Status &amp; mStrings.Bracket(http.statusText)
  End Select
  </code></pre>