Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "jid" : "2",
- "title" : "demo.virtuemart.net - product",
- "start_url" : "http:\/\/demo.virtuemart.net\/",
- "test_url" : "http:\/\/demo.virtuemart.net\/index.php\/2012-01-13-09-33-20\/virtuemart-default-layout\/mobile-phones\/apple-iphone-4-detail",
- "only_this_domen" : "1",
- "depth" : "1",
- "parse_limit" : "0",
- "white_list" : "",
- "black_list" : "*.jpg\r\n*.png\r\n*.zip\r\n*.rar\r\n*.pdf",
- "check_code" : "return $doc-\u003Efind(\u0027.quantity-input\u0027)-\u003Elength() \u003E 0;",
- "save_url" : "0",
- "no_update" : "0",
- "site_charset" : "auto",
- "charset_fix" : "0",
- "entity_type" : "commerce_product",
- "bundle" : "storage_devices",
- "remote_id_code" : "return $doc-\u003Efind(\u0027input[name=\u0022virtuemart_product_id[]\u0022]\u0027)-\u003Eval();",
- "fields_code" : {
- "sku" : "return $doc-\u003Efind(\u0027span[itemprop=\u0022sku\u0022]\u0027)-\u003Etext();",
- "title" : "return $doc-\u003Efind(\u0027#product-name\u0027)-\u003Etext();",
- "commerce_price" : "$price_string = $doc-\u003Efind(\u0027meta[itemprop=\u0022price\u0022]\u0027)-\u003Eattr(\u0027content\u0027);\r\n$price_float = (float)str_replace(\u0027,\u0027, \u0027.\u0027, $price_string);\r\nreturn array(\r\n \u0027amount\u0027 =\u003E $price_float * 100,\r\n);",
- "title_field" : "return $doc-\u003Efind(\u0027#product-name\u0027)-\u003Etext();"
- },
- "list_mode_code" : "",
- "prepare_code" : "",
- "headers" : "User-Agent: Opera\/9.80 (Windows NT 6.1; U; ru) Presto\/2.8.131 Version\/11.10\r\n",
- "proxies" : "",
- "force_download" : "0",
- "force_download_list" : "",
- "sleep" : "0",
- "status" : "1",
- "module" : null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement