Jump to content
UBot Underground

Recommended Posts

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?

 

Link to post
Share on other sites

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.

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...