spa3212 1 Posted August 2, 2020 Report Share Posted August 2, 2020 Hi,I want to scrape post text using exbrowser plugin, I was able to scrape the whole text. But I want to scrape each line wise.so that scraped data should look like this. I am using this alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element", "//*[@id=\"post-body-6805714621427306847\"]/p/text()[1]")) but nothing is scraped can you guys plz help. I could scrape the test alert($plugin function("ExBrowser.dll", "$ExBrowser Scrape Element", "//*[@id=\"post-body-6805714621427306847\"]/p"))But this add all the test in single para instead lines, I want to keep the original layout of text as like in the post.. this is the posthttps://englishgrammarhindime.blogspot.com/2020/05/test.html Quote Link to post Share on other sites
tinku 6 Posted August 2, 2020 Report Share Posted August 2, 2020 (edited) try:-set(#test,$list from text($plugin function("ExBrowser.dll", "$ExBrowser Scrape List Elements Attribute", "x://p", "innerHTML"),$new line),"Global")set(#test,$replace(#test,"<br>",$new line),"Global") if need any further assistance you can skype me at:-live:69f5974a7e15e93eThanks & RegardsTinku Singh Edited August 2, 2020 by tinku Quote Link to post Share on other sites
spa3212 1 Posted August 2, 2020 Author Report Share Posted August 2, 2020 Many many thanks, for your help, can you please help me scraping 4th item from this list $plugin function("ExBrowser.dll", "$ExBrowser Scrape List Elements", "//*[@id=\"post-body-6805714621427306847\"]/p/text()[4]") $plugin function("ExBrowser.dll", "$ExBrowser Scrape List Elements", "//p/br[5]") but this doesn't work as well. I must be doing all wrong.. 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.