Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 16th, 2012  |  syntax: None  |  size: 0.62 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. global {
  3.   datasource ebaySearch <- "http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME=bradodas-8179-459a-b0e6-aa406d2e17e9&OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&RESPONSE-DATA-FORMAT=JSON&REST-PAYLOAD&paginationInput.entriesPerPage=7&";
  4. .
  5. .
  6. .
  7.  
  8. }
  9.  
  10.   rule eBay_Search is active {
  11.     select when pageview "^http://(?:www|search).(?:bing|google|yahoo).com/.*(?:search|#hl|#socal|webhp).*(?:&|\?)(?:p|q)=(.*?)(:?&|$)" setting (searchTerm)
  12.  
  13.     foreach datasource:ebaySearch("keywords="+searchTerm).pick("$..item") setting (item)
  14.    
  15.     pre {
  16.      .
  17.      .
  18.      .
  19.     }
  20.  
  21. }