Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quickest way to download an element from web page
#2
Download whole page and extract the element using regular expression.
Code:
Copy      Help
str s ss
IntGetFile "http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?TimeShow" s
;out s
if(findrx(s "<p>The official eBay Time is now:</p><p><b>(.+?)</b>" 0 1 ss 1)<0) end "eBay time page structure changed, please edit the regular expression"
out ss


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)