Jump to content
UBot Underground

Scraping From Variables


Recommended Posts

I'm tired of my "new browsers" crashing and I only use them to load html from variables for scraping.

 

Is it possible to scrape the variables without load html? I'm going to test using headless, but maybe someone here has knows how to just skip loading html altogether. Thanks!

Link to post
Share on other sites

I'm tired of my "new browsers" crashing and I only use them to load html from variables for scraping.

 

Is it possible to scrape the variables without load html? I'm going to test using headless, but maybe someone here has knows how to just skip loading html altogether. Thanks!

 

Depending what you want to scrape you can use regex to extract your data ;)

You can extract the data before you assign to a variable or you can do it by transferring to another variable, 

probably a few more ways you can achieve it, just think outside the box ;)

 

 

 

Cheers

CJ

Link to post
Share on other sites

Thanks CJ, I'm going to look into Regex. Good idea!

 

 

Your welcome ;)

 

make sure to check out Helloinsomnia's "Regex Builder" and Brutals "Regex Cheater" (both here in the forum)

both incredibly useful

 

Have fun

 

Cheers

CJ

Link to post
Share on other sites

check out my plugin this is what it is made for,video tutorial their too, much faster and easier than writing Regex expressions

http://network.ubotstudio.com/forum/index.php/topic/19108-offer-get-my-new-css-selector-plugin-for-free/

 

ayman alßo has a http post plugin that includes an xpath parser that would work too

Link to post
Share on other sites

Thanks deliter! I actually have aymen's plugin I'm going to try the xpath parser, if that doesn't work I'll check out yours. Thanks a lot. Honestly, I never really understood what xpath is so I always overlook it.

Link to post
Share on other sites

Is it possible to use wildcards with xpath? I'm used to scraping items like this: id=item_* where the * can be any character. 

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