Hi,
I've tried everything. Elemnent wrapper, element click. Nothing is working.
ANy advice ?
Thanks in advance.
Hi,
I've tried everything. Elemnent wrapper, element click. Nothing is working.
ANy advice ?
Thanks in advance.
Hi @Doninio
Element click selector should work and it doesn't go through the dropdown because you haven't defined that it should go through the available options.
select#meetings option
Example:
{"_id":"betfair","startUrl":["https://greyhoundsform.betfair.com/racingform"],"selectors":[{"id":"races","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.pageContent","multiple":true,"delay":2000,"clickElementSelector":"select#meetings option","clickType":"clickOnce","discardInitialElements":"discard-when-click-element-exists","clickElementUniquenessType":"uniqueText"},{"id":"win","type":"SelectorText","parentSelectors":["races"],"selector":"td#summaryTrackWinners","multiple":false,"regex":"","delay":0}]}
Hope it helps.
Hi VIesturs,
Its working fine now ! THank you ! Really appreciate your help.
WHat i did wrong was I selected the menu by using "click selector" and then I clicked it with mouse. It turned red so I thought that was it.
THanks again !
Another problem im facing is that it only scraping 1 track from each race even when i mark both drop down menus (click selector) and enter this:
"select option"
Tried also another variation and its not working either:
{"_id":"betfair","startUrl":["[https://greyhoundsform.betfair.com/racingform"],"selectors":{"id":"races","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.pageContent","multiple":true,"delay":2000,"clickElementSelector":"div.raceSelector option","clickType":"clickMore","discardInitialElements":"discard-when-click-element-exists","clickElementUniquenessType":"uniqueText"},{"id":"track","type":"SelectorText","parentSelectors":["races"],"selector":"h3","multiple":false,"regex":"","delay":0},{"id":"win at track","type":"SelectorText","parentSelectors":["races"],"selector":"td#summaryTrackWinners","multiple":false,"regex":"","delay":0},{"id":"win at grade","type":"SelectorText","parentSelectors":["races"],"selector":"td#summaryClassWinners","multiple":false,"regex":"","delay":0},{"id":"win over dist","type":"SelectorText","parentSelectors":["races"],"selector":"td#summaryWinnersOverDistance","multiple":false,"regex":"","delay":0}]}