It's a bit long but there you go. All the selectors with multiple : true
are not working correctly.
{
"_id": "natrel",
"selectors": [
{
"delay": 0,
"id": "Tilte",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": "h1.title-node",
"type": "SelectorText"
},
{
"delay": 0,
"id": "intro",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": "div.intro-content",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Recette link",
"multiple": true,
"parentSelectors": [
"_root"
],
"selector": "div.title a",
"type": "SelectorLink"
},
{
"delay": 0,
"id": "Category",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": "div.category",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Rendement",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-preparation-serves",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Préparation",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-preparation-time",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Cuisson",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-preparation-cookingtime",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Refroidissement",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-preparation-cooling-time",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Ingrédients",
"multiple": true,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-ta-ingredients .title-section, .field-name-field-ta-ingredients p",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Astuces",
"multiple": true,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-field-astuce p",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Étapes",
"multiple": true,
"parentSelectors": [
"Recette link"
],
"regex": "",
"selector": ".field-name-body .title-section, .field-name-body ol li",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Étapes Photos",
"multiple": true,
"parentSelectors": [
"Recette link"
],
"selector": ".field-name-body img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Author Link",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".collaborator a.btn",
"type": "SelectorLink"
},
{
"delay": 0,
"id": "Author Avatar",
"multiple": false,
"parentSelectors": [
"Author Link"
],
"selector": ".field-name-field-img-thumb-square-profile img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Author Name",
"multiple": false,
"parentSelectors": [
"Author Link"
],
"regex": "",
"selector": "h1.title-node",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Author Headline",
"multiple": false,
"parentSelectors": [
"Author Link"
],
"regex": "",
"selector": ".content div.metas",
"type": "SelectorText"
},
{
"delay": 0,
"id": "Author Bio",
"multiple": true,
"parentSelectors": [
"Author Link"
],
"regex": "",
"selector": ".field-name-field-bio p",
"type": "SelectorText"
},
{
"delay": 0,
"extractAttribute": "href",
"id": "Author Website",
"multiple": false,
"parentSelectors": [
"Author Link"
],
"selector": "div.picture a.btn",
"type": "SelectorElementAttribute"
}
{
"delay": "0",
"id": "Photo Gallery 1",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(1) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 2",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(2) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 3",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(3) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 4",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(4) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 5",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(5) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 6",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(6) img",
"type": "SelectorImage"
},
{
"delay": 0,
"id": "Photo Gallery 7",
"multiple": false,
"parentSelectors": [
"Recette link"
],
"selector": ".photo-gallery div.item:nth-of-type(7) img",
"type": "SelectorImage"
},
],
"startUrl": [
"http://www.natrel.ca/fr/recettes?page=[1-11]"
]
}
Thanks !!