 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The VBScript Network and Systems Administrator&#039;s Cafe &#187; InternetExplorer.Application</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/tag/internetexplorerapplication/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator</link>
	<description></description>
	<lastBuildDate>Tue, 11 Oct 2011 18:36:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Using Internet Explorer objects to scrape links from web pages.</title>
		<link>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-internet-explorer-objects-to-scrape-links-from-web-pages/</link>
		<comments>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-internet-explorer-objects-to-scrape-links-from-web-pages/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 06:17:54 +0000</pubDate>
		<dc:creator>Jerry Lees</dc:creator>
				<category><![CDATA[InternetExplorer.Application]]></category>
		<category><![CDATA[Web Pages]]></category>
		<category><![CDATA[web sites]]></category>
		<category><![CDATA[web tools]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-internet-explorer-objects-to-scrape-links-from-web-pages/</guid>
		<description><![CDATA[ Recently, I needed to write a tool that would scrape the links from a page. To accomplish this I used the Internet Explorer object &#8220;InternetExplorer.Application&#8220;.  We&#8217;ll explain it a bit more in a later entry but for now, take a look at the code below: URL = &#8220;http://itknowledgeexchange.techtarget.com/itblogs/&#8220; With CreateObject(&#8220;InternetExplorer.Application&#8221;)   .Navigate URL   Do Until [...]]]></description>
				<content:encoded><![CDATA[<p> Recently, I needed to write a tool that would scrape the links from a page. To accomplish this I used the Internet Explorer object &#8220;<em>InternetExplorer.Application</em>&#8220;.  We&#8217;ll explain it a bit more in a later entry but for now, take a look at the code below:</p>
<p><font color="#0000ff">URL = &#8220;</font><a href="http://itknowledgeexchange.techtarget.com/itblogs/"><font color="#0000ff">http://itknowledgeexchange.techtarget.com/itblogs/</font></a><font color="#0000ff">&#8220;</font></p>
<p><font color="#0000ff">With CreateObject(&#8220;InternetExplorer.Application&#8221;)<br />
  .Navigate URL<br />
  Do Until .ReadyState = 4<br />
    Wscript.sleep 10<br />
  Loop<br />
  for each link in .document.links<br />
    Wscript.echo link, link.InnerText<br />
  next</font></p>
<p><font color="#0000ff">&#8216; Uncomment the three lines below to scrape references to images<br />
&#8216;  for each pix in .document.images<br />
&#8216;  Wscript.echo pix.src<br />
&#8216;  Next<br />
 <br />
  .Quit<br />
End With<br />
</font></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/vbscript-systems-administrator/using-internet-explorer-objects-to-scrape-links-from-web-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
