title: Using MSXML2.XMLHTTP in access VBA not extracting all page data
body: <p>Currently, we are using below mentioned code for data extraction but code is not extracting complete data from webpage, code is ignoring data which is visible when i enable java script and DOM storage on Internet explorer.</p>
  
  <p>till now I use below mentioned code, trailing code is extracting every thing accept images from web page.</p>
  
  <p>My code is given blow.</p>
  
  <pre class="lang-vb prettyprint-override"><code>Set http = CreateObject("MSXML2.XMLHTTP")
  
      http.Send
      html.body.innerHTML = http.ResponseText
  
      On Error GoTo 0
      html1 = html.body.innerHTML
       brand5 = html.documentElement.innerHTML
       If html1 Like "*media__thumb*" Then
  other_img = html.getElementsByClassName("media__thumb")(0).innerText
  'other_img = other_img.innerHTML
  End If
  </code></pre>
  
  <p>On webpage multiple image html code is given below(please note that my above code is not extracting data from below mentioned html code.</p>
  
  <pre class="lang-html prettyprint-override"><code>
              &lt;a class="media__thumbnail" data-media_type="IMAGE" data-media_id="orbit-bagged-53017-64" data-target="IMAGE" data-has-index="true"&gt;
                  &lt;img src="https://images.yourweb/_145.jpg"&gt;
              &lt;/a&gt;
              &lt;a class="media__thumbnail media__thumbnail--selected" data-media_type="IMAGE" data-media_id="orbit-bagged-53017-e1" data-target="IMAGE" data-has-index="true"&gt;
                  &lt;img src="https://images.yourweb1_145.jpg"&gt;
              &lt;/a&gt;
              &lt;/span&gt;&lt;/a&gt;
  
  </code></pre>
  
  <p>http.response is given below</p>
  
  <pre><code>&lt;div id="thumbnails" class="media__thumbnails" data-component="thumbnails"&gt;&lt;/div&gt;
  
      &lt;script type="text/template" id="media__thumbnails"&gt;
          {{#thumbnails}}
              &lt;a class="media__thumbnail" data-media_type="{{type}}" data-media_id="{{id}}" data-target="{{type}}" data-has-index="true"&gt;
                  &lt;img src="{{{thumb}}}"/&gt;
                  {{# hasIcon}}
                    {{# threeSixtyIcon}} &lt;div class="whitespace"&gt;&lt;span class="threesixtyIcon"&gt;&lt;/span&gt;&lt;/div&gt;{{/ threeSixtyIcon}}
                    {{^ threeSixtyIcon}} &lt;span class="videoIcon"&gt;&lt;/span&gt;{{/ threeSixtyIcon}}
                  {{/ hasIcon}}
              &lt;/a&gt;
          {{/thumbnails}}
          {{#additionalThumbnailsThumbnail}}
              &lt;a class="media__thumbnail media__thumbnail-additional-count" data-media_type="{{type}}" data-media_id="{{id}}" data-target="{{type}}" data-has-index="true"&gt;
                  &lt;img src="{{{thumb}}}"/&gt;
                  {{# hasIcon}}
                    {{# threeSixtyIcon}} &lt;div class="whitespace"&gt;&lt;span class="threesixtyIcon"&gt;&lt;/span&gt;&lt;/div&gt;{{/ threeSixtyIcon}}
                    {{^ threeSixtyIcon}} &lt;span class="videoIcon"&gt;&lt;/span&gt;{{/ threeSixtyIcon}}
                  {{/ hasIcon}}
                  {{#additionalImagesCount}}
                      &lt;div class="media__thumbnail-overlay"&gt;&lt;/div&gt;
                      &lt;span class="media__thumbnail-count"&gt;+{{additionalImagesCount}}&lt;/span&gt;
                  {{/additionalImagesCount}}
              &lt;/a&gt;
  </code></pre>