Page Scrape

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
 
Line 24: Line 24:
  
  
[[File:pagescrape.png]]
+
[[File:iu9.jpg]]

Latest revision as of 16:50, 24 December 2016

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



[edit] 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".


Iu9.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox