Hello! I'm trying to make a multiple choice selector but options in the selector dont have ids, only values.
The end goal is to get every schedule for avery stop in the 18 bus lines in my city
Url: Linea 1
Sitemap:
{id:"lineas"}
Hello! I'm trying to make a multiple choice selector but options in the selector dont have ids, only values.
The end goal is to get every schedule for avery stop in the 18 bus lines in my city
Url: Linea 1
Sitemap:
{id:"lineas"}
Hi, you can try this setup:
{"_id":"comujesa-es","startUrl":["https://www.comujesa.es/autobuses-urbanos/lineas-paradas-y-horarios/linea-1"],"selectors":[{"clickActionType":"real","clickElementSelector":"[name=\"paradas\"] option:not([value=\"0\"]):nth-of-type(-n+5)","clickElementUniquenessType":"uniqueCSSSelector","clickType":"clickOnce","delay":3000,"discardInitialElements":"discard-when-click-element-exists","id":"drop-down","multiple":true,"parentSelectors":["_root"],"selector":"body","type":"SelectorElementClick"},{"id":"line","multiple":false,"parentSelectors":["drop-down"],"regex":"","selector":"[name=\"paradas\"] option:selected","type":"SelectorText"},{"id":"Laborales","multiple":false,"parentSelectors":["drop-down"],"regex":"","selector":"#resultado .tx-jn-phpcontentelement > div:nth-of-type(1)","type":"SelectorText"},{"id":"Sábados","multiple":false,"parentSelectors":["drop-down"],"regex":"","selector":"#resultado .tx-jn-phpcontentelement > div:nth-of-type(2)","type":"SelectorText"},{"id":"Domingos y Festivos","multiple":false,"parentSelectors":["drop-down"],"regex":"","selector":"#resultado .tx-jn-phpcontentelement div:nth-of-type(3)","type":"SelectorText"}]}