Page Scrape

From UBot Studio
Revision as of 17:18, 1 May 2013 by LillyT (Talk | contribs)

Jump to: navigation, search

$Page Scrape is a Browser Function.

The function returns the text scraped from the correct page between two specified pieces of text. In order to scrape your data you can either save it to a list or set it to a variable.

Text On Left Side: Text on the left side of the desired text being scraped.

Text On Right Side: Text on the right side of the desired text being scraped.



Example

load html("<b>Hello World</b>")
set(#mylist, $page scrape("<b>", "</b>"), "Global")

Running the script scrapes the content between the specified bold tags.

The page scrape function returns only the phrase "Hello Word".


File:Pagescrape.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox