Bot-Factory 602 Posted April 14, 2016 Author Report Share Posted April 14, 2016 Hi Botters, I am trying to extract the URL link form in between the text but nothing is appearing: <span class="_Vy">Blog</span><site>www.gamesviewer.com/<b>Ps4</b>-<b>Hitman</b></site><w-bubble class="action-menu cd_ctl r-iG89Ax6bOzOo" jsl="$t t-R3dwiTmE0C4;$x 0;"> This is the xpath expression I am using: //site[contains(text(),"site")] If anybody can shed some light on where I am gone wrong would be greatly appreciated. Thanks The innertext in your example doesn't contain the word site. So it will return nothing. If you want to extract innertext from elements that are below the element you selected, and you want to use contains at the same time, you need a different approach:Please take a look here:http://stackoverflow.com/questions/3655549/xpath-containstext-some-string-doesnt-work-when-used-with-node-with-more CheersDan Quote Link to post Share on other sites
Bot-Factory 602 Posted May 29, 2016 Author Report Share Posted May 29, 2016 Bugfix Release V1.2.7.6 Mainly for Windows 10 Users If you are NOT on Windows 10, you don't need this update. But you can update as well. No feature or UI changes. No Auto Update To download the update please login to the license servre and click on the download button. Or Login to Zaxaa.com. The new version is available there as well. Quote Link to post Share on other sites
Bot-Factory 602 Posted August 5, 2016 Author Report Share Posted August 5, 2016 Tutorials and Helpdesk: https://botfactory.helpdocs.com Youtube Channel: https://www.youtube.com/channel/UC9IoKUazlbSbGEVUqd3SCfQ Quote Link to post Share on other sites
Monovski 4 Posted August 28, 2016 Report Share Posted August 28, 2016 I watch video now Quote Link to post Share on other sites
cүвεя_נυηкιε 68 Posted August 28, 2016 Report Share Posted August 28, 2016 Hi Dan An expression like this works in xpath build pro, but doesnt in Exbrowser Scrape Element (im trying to get the inntertext - ie the actual phone number) x://strong[contains(text(),"Phone number")]/following-sibling::text()[1] Any ideas what I might be doing wrong Thanks in advance Hi HattoriHanzoI saw your post notice flash up in my mail and thought i could offer my pearl of wisdom lmao, First off, once you get using Dans Xpath app you will wonder how you lived without it for so long, .. seriously ! ok, .. Dans software is pretty self explanatory once you get the hang of Regex itself, ... here are the 2 pages that help me understand how expressions are put together and how they react with each other :http://www.ultraedit.com/support/tutorials_power_tips/ultraedit/regular_expressions.htmlhttp://regexr.com/ Try not to be overwhelmed when you see the first page it looks daunting but once you break it down and test some basic stuff the advanced stings start to make sense. im sure Dan will be along shortly with some vid links anyway ( in fact im sure there are some demo videos on his website )but hope it helps a little. EDIT : In fact he's already answered, im late to the party as usual LMAO CheersCJ Quote Link to post Share on other sites
Bot-Factory 602 Posted August 28, 2016 Author Report Share Posted August 28, 2016 Thanks guys for the kind words. Xpath Builder Pro is a tool that helps you to build the expressions. But you should already know the basics about Xpath.It's similar to all the Regex tools. If you have no idea how regex works then those tools won't help you much as well.They still can help with some basic stuff, but as soon as it get's a bit more complicated.. It's done.So I highly recommend to learn some basics first before you get this tool.You can Google for some free Xpath tutorials. Or you can take a look at my video course:http://www.bot-factory.com/xpath-video-tutorials/ Quote Link to post Share on other sites
Reinbo 2 Posted August 28, 2016 Report Share Posted August 28, 2016 Please help, how to get link contain innertext for exbrowser <a href="/groups/449164912345678?view=permalink&id=9386061112345678&ref=bookmarks&_ft_"><abbr>Just now</abbr></a> target : /groups/449164912345678?view=permalink&id=9386061112345678&ref=bookmarks&_ft_ already tried all but it does not work x://abbr[contains(text(),"Just now")] alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://abbr[contains(text(),\"Just now\")]", "href")) alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element", "x://a[contains(text(),\"Just now\")]")) alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element Attribute", "x://a[contains(text(),\"Just now\")]", "href")) thank you! Quote Link to post Share on other sites
Bot-Factory 602 Posted August 28, 2016 Author Report Share Posted August 28, 2016 Ok, before you can solve this "problem", you have to understand how the whole thing works. HTML and XLM has different "levels". In your example the A element is Level1. And the abbr element is level 2.That means abbr is within a. Now. if you select the abbr element with://abbr[contains(text(),"Just now")]You can not extract data from a different element. In your case you want to extract data from the a element that is one level above the one you selected. To do that, you have to move one level up from the element you selected. To do that you use /.. So in your example this would look like: set(#data,"<a href=\"/groups/449164912345678?view=permalink&id=9386061112345678&ref=bookmarks&_ft_\"><abbr>Just now</abbr></a>","Global") alert($plugin function("ExBrowser.dll", "$ExBrowser Generic Xpath Parser", #data, "//abbr[contains(text(),\"Just now\")]/..", "href", "True")) This stuff and more is covered in my Xpath Tutorial Videos:http://www.bot-factory.com/xpath-video-tutorials/ Just $27 Bucks. And you learn 95% of everything you need with Xpath.CheersDan Quote Link to post Share on other sites
Bot-Factory 602 Posted September 22, 2016 Author Report Share Posted September 22, 2016 For support please open a ticket at:http://www.bot-factory.comHad to remove the support via Email. It got out of hand a bit. Thank youDan Quote Link to post Share on other sites
Bot-Factory 602 Posted November 1, 2016 Author Report Share Posted November 1, 2016 Xpath Video Tutorials are now FREE:http://www.bot-factory.comXpath Builder Pro price reduced to $27 Quote Link to post Share on other sites
Bot-Factory 602 Posted November 3, 2016 Author Report Share Posted November 3, 2016 Please Update to latest Version ASAP:V.1.2.7.7This Version is managed by the new License Server.Previous Versions are managed by the old one.They might share the same login (email), but the passwords are not synchronized. Please check your Emails within the next hours for more details.PS: Old Lic Server and old Versions will be offline in 7 days! If this is not possible for you, or something is not working:https://danwan.supportsystem.com/ Quote Link to post Share on other sites
Bot-Factory 602 Posted December 22, 2016 Author Report Share Posted December 22, 2016 How to generate Xpath Expressions for Content that is shown within an iFrame Quote Link to post Share on other sites
Bot-Factory 602 Posted May 4, 2017 Author Report Share Posted May 4, 2017 Xpath Builder Pro is available againhttps://www.bot-factory.com/xpath-builder-pro/ It goes for $27, or if you purchase the OTO after ExBrowser Plugin it costs $17 Questions:https://support.bot-factory.com/ Quote Link to post Share on other sites
incept 1 Posted August 29, 2019 Report Share Posted August 29, 2019 Any updates planned for this? I can't get certain websites to load in it. Quote Link to post Share on other sites
Bot-Factory 602 Posted September 2, 2019 Author Report Share Posted September 2, 2019 Any updates planned for this? I can't get certain websites to load in it. No, because most of the time it makes no sense to use the internal browser. The websites who don't work in that browser, probably are bigger websites who have optimized code for different browser versions anyways.So the xpath you generate within the Xpath Builder Pro browser engine, might not work in Chrome or firefox, because the website shows different (optimized) html code for the particular browser. So I always recommend to copy the html code of the element from the browser you are really using to xpath builder pro, and use it to build the expression that way. Please watch the following video, where I explain that process:https://www.youtube.com/watch?v=oqFuEMkTQzQ RegardsDan Quote Link to post Share on other sites
Bot-Factory 602 Posted November 4, 2019 Author Report Share Posted November 4, 2019 Xpath Builder Pro V2.0 Update. Take a look here in the EXB FB Group:https://www.facebook.com/groups/ExBrowserPlugin/ Quote Link to post Share on other sites
rocket976 62 Posted November 4, 2019 Report Share Posted November 4, 2019 How do I get the V2 update? Quote Link to post Share on other sites
Bot-Factory 602 Posted January 28, 2020 Author Report Share Posted January 28, 2020 Xpath Builder V2.1 Email sent to all customersIf you didn't get it, or you don't have a V2.1 license, please open a support ticket here:https://exbrowser.bot-factory.com/supportAnd send all your details. Paypal Email. When did you purchase. Do you own a EXB V1 license? What's your V1 license email.The more infos you sent, the easier I can find you and solve the problem. Quote Link to post Share on other sites
Bot-Factory 602 Posted January 31, 2020 Author Report Share Posted January 31, 2020 >> Get It Today << Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted August 1, 2021 Report Share Posted August 1, 2021 XPath Builder Pro has been updated and can be downloaded inside of your account on https://www.exbrowser.net from your members dashboard Download and replace your files with those from download. No longer tied to your ExBrowser license. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.