Code:
{
"_id": "proper_on_the_works",
"startUrl": [
"https://www.maitredoeuvre.com/annuaire/villes-morbihan.php"
],
"selectors": [
{
"id": "villeLink",
"type": "SelectorLink",
"parentSelectors": [
"_root"
],
"selector": "li:nth-of-type(n+2) a",
"multiple": true,
"delay": 0
},
{
"id": "MO_page_Free",
"type": "SelectorElementClick",
"parentSelectors": [
"villeLink"
],
"selector": ".freeBG",
"multiple": true,
"delay": 2000,
"clickElementSelector": ".freeBG img",
"clickType": "clickOnce",
"discardInitialElements": "do-not-discard",
"clickElementUniquenessType": "uniqueText"
},
{
"id": "name_MO",
"type": "SelectorText",
"parentSelectors": [
"MO_page_Free"
],
"selector": "h1",
"multiple": false,
"regex": "",
"delay": 0
},
{
"id": "AgenceLocal_MO",
"type": "SelectorText",
"parentSelectors": [
"MO_page_Free"
],
"selector": ".agence_infos h3",
"multiple": true,
"regex": "",
"delay": 0
},
{
"id": "AgenceTel_MO",
"type": "SelectorElementAttribute",
"parentSelectors": [
"MO_page_Free"
],
"selector": "#agences-proches .agence_action a",
"multiple": true,
"extractAttribute": "data-tel",
"delay": 0
},
{
"id": "AgenceDir_MO",
"type": "SelectorText",
"parentSelectors": [
"MO_page_Free"
],
"selector": ".agence_infos p",
"multiple": true,
"regex": "",
"delay": 0
},
{
"id": "AgencePostalCode_MO",
"type": "SelectorText",
"parentSelectors": [
"MO_page_Free"
],
"selector": ".agence_infos p strong",
"multiple": true,
"regex": "",
"delay": 0
},
{
"id": "pages",
"type": "SelectorElementClick",
"parentSelectors": [
"villeLink"
],
"selector": "div.villes",
"multiple": true,
"delay": 2000,
"clickElementSelector": ".villes a",
"clickType": "clickOnce",
"discardInitialElements": "do-not-discard",
"clickElementUniquenessType": "uniqueText"
}
]
}