Hi everyone,
I'm new to the subject and I try to list all clubs from the given Url: http://www.ffbb.com/jouer/trouver-un-club?DepartementClub=01
Below is a WIP sitemap I've tried to run multiple times (with many different option combinaisons) and spent hours on. Unfortunately, I still can't figure out a way to make it work.
{"_id":"ffbb-dev","startUrl":["http://www.ffbb.com/jouer/trouver-un-club?DepartementClub=01"],"selectors":[{"id":"clubs","type":"SelectorElement","selector":"ul.trouver-club li","parentSelectors":["page"],"multiple":true,"delay":0},{"id":"name","type":"SelectorText","selector":"div.salle-header span.salle-title","parentSelectors":["clubs"],"multiple":false,"regex":"","delay":0},{"id":"page","type":"SelectorElementClick","selector":"section div div.region div.content","parentSelectors":["_root"],"multiple":true,"delay":"5000","clickElementSelector":"li.pager-next a","clickType":"clickMore","discardInitialElements":false,"clickElementUniquenessType":"uniqueHTMLText"},{"id":"city","type":"SelectorText","selector":"span.club-ville","parentSelectors":["clubs"],"multiple":false,"regex":"","delay":0}]}
It correctly browses the url and navigate through the 5 pages. However, the result is not what I'm expecting. Instead of all the 37 clubs, I get 5 x the clubs on page 5 = 25 duplicated results
Someone having a look would be a fantastic help.
Wishing you all a bright Sunday, I will keep you posted if I find a solution before a good soul finds my bottle at the sea.