Maxo 0 Posted April 16, 2014 Report Share Posted April 16, 2014 I have been trying to conduct scraping of a page using UBot standard, but have a problem. Because I have several same elements on the page. Normally advanced selector works fine, but after some time it shows error: Error: Error converting value True to type 'System.Collections.Generic.List'1 [system.String]'. If I only had possibility to use XPATH, I could resolve this easily, but UBot does not have it. Any other ideas? Quote Link to post Share on other sites
Steve 30 Posted April 16, 2014 Report Share Posted April 16, 2014 Aymen has a plugin called http post which I believe has xpath parsing functions. http://www.ubotstudio.com/forum/index.php?/topic/12837-sell-http-post-plugin-crazy-bonuses-inside/ Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted April 16, 2014 Report Share Posted April 16, 2014 Regex if no funds to upgrade and get plugin http://regexhero.net/tester/ (?=ABC) - Positive lookahead. Matches a group after your main expression without including it in the result. (?!ABC) - Negative lookahead. Specifies a group that can not match after your main expression (ie. if it matches, the result is discarded). (?<=ABC) - Positive lookbehind. Matches a group before your main expression without including it in the result. (?<!ABC) - Negative lookbehind. Specifies a group that can not match before your main expression (ie. if it matches, the result is discarded). (?<=ABC).*?(?=ABC) - Extracts the text between specified goups. 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.