Jump to content
UBot Underground

Need Small Help With Xpath For Exbrowser Plugin


Recommended Posts

<b>Current Tax Levy:   </b>

"this is the text to scrape"

<br>

 

 

I am trying to scrape "this is the text to scrape" I tried this with exbrowser scrape element 

But it only scrape (current tax levy)

 

//b[contains(text(), 'Current Tax Levy:')]

 

can you check this how to scrape 

Link to post
Share on other sites

try this:

set(#innertext,$plugin function("ExBrowser.dll", "$ExBrowser Scrape Element", "x://b[contains(text(), \"Current Tax Levy:\'\"]/"),"Global")

 

But if it not works i need to see the webpage.

Link to post
Share on other sites

https://www.dallasact.com/act_webdev/dallas/showdetail2.jsp?can=00000542731000000&ownerno=0

 

this is the url I need to scrape below details.Amount

 

Current Tax Levy:   $1,132.27 

Current Amount Due:   $0.00

Prior Year Amount Due:   $0.00

Total Amount Due:   $0.00

 

Thanks for your help..

Link to post
Share on other sites

not xpath

this is a regex problem

 

(?<=Current Tax Levy.*)[\$0-9,.\n]*

 

===================================

 

plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", $plugin function("ExBrowser.dll", "$ExBrowser Use Portable Browser", "Chrome"), "NO")
plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://www.dallasact.com/act_webdev/dallas/showdetail2.jsp?can=00000542731000000&ownerno=0")
set(#the text,$plugin function("ExBrowser.dll", "$ExBrowser Document Text"),"Global")
set(#the_current_tax_levy,$plugin function("Advanced Data Text File.dll", "$trim 2", $find regular expression(#the text,"(?<=Current Tax Levy.*)[\\$0-9,.\\n]*"), "", "Trim All"),"Global")

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...