Web Scraper使用

{
"selectors": [{
"parentSelectors": ["_root"],
"type": "SelectorElementClick",
"multiple": false,
"id": "expand",
"selector": "span.a-expander-prompt",
"clickElementSelector": "span.a-expander-prompt",
"clickElementUniquenessType": "uniqueText",
"clickType": "clickOnce",
"discardInitialElements": false,
"delay": ""
}, {
"parentSelectors": ["_root"],
"type": "SelectorElementClick",
"multiple": false,
"id": "click",
"selector": "a.a-link-normal.pr-email",
"clickElementSelector": "a.a-link-normal.pr-email",
"clickElementUniquenessType": "uniqueCSSSelector",
"clickType": "clickOnce",
"discardInitialElements": false,
"delay": ""
}, {
"parentSelectors": ["_root"],
"type": "SelectorElementAttribute",
"multiple": false,
"id": "url",
"selector": "a.top-reviewer-link",
"extractAttribute": "href",
"delay": ""
}, {
"parentSelectors": ["_root"],
"type": "SelectorText",
"multiple": false,
"id": "email",
"selector": "a.pr-email",
"delay": "500",
"regex": ""
}],
"startUrl": ["https://www.amazon.de/gp/pdp/profile/A1LMHSD4YO2OF3/ref=cm_cr_tr_tbl_19_name"],
"_id": "devv"
}

 

 

------------------------------------------------------------------------------

 

{
"startUrl": [
"https://sellercentral.amazon.com/hz/orders/details?_encoding=UTF8&orderId=114-2108134-4526659&ref_=ag_orddet_cont_myo"
],
"selectors": [
{
"parentSelectors": [
"_root"
],
"type": "SelectorElementAttribute",
"multiple": false,
"id": "buyerId",
"selector": "input#buyerId",
"extractAttribute": "value",
"delay": ""
},
{
"parentSelectors": [
"_root"
],
"type": "SelectorElementAttribute",
"multiple": false,
"id": "orderId",
"selector": "input#orderId",
"extractAttribute": "value",
"delay": ""
}
],
"_id": "order_reviewer_id"
}

posted @ 2016-10-13 14:11  大山山  阅读(707)  评论(0编辑  收藏  举报