Multiple "Show More" buttons

74 views
Skip to first unread message

Michael B

unread,
Dec 6, 2017, 3:05:22 PM12/6/17
to Web Scraper
Hi,

The site I'm trying to scrape has multiple categories that have "show more" buttons that don't link to different URLs. Ive tried to set up an element click, but it just expands the first "show more", then collapses it. It doesn't continue to do the rest. I'm not sure how I should go about doing this if it's possible.

{"startUrl":"https://www.suppose.tv/tv?m=9","selectors":[{"parentSelectors":["_root"],"type":"SelectorElementClick","multiple":true,"id":"show more channels","selector":"div.categoryItems","delay":"5000","clickElementSelector":"span.categoryExpandText","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","discardInitialElements":false},{"parentSelectors":["show more channels"],"type":"SelectorLink","multiple":true,"id":"more channels","selector":"div.selectItem","delay":"5000"}],"_id":"suppose"}


Thanks

Michael B

unread,
Dec 6, 2017, 3:27:37 PM12/6/17
to Web Scraper
I've managed to make it extra data from the first two "show more" but cant make it go any further.

{"startUrl":"https://www.suppose.tv/tv?m=9","selectors":[{"parentSelectors":["_root"],"type":"SelectorElementClick","multiple":true,"id":"show more channels","selector":"div.selectItems","delay":"5000","clickElementSelector":"span.categoryExpandText","clickElementUniquenessType":"uniqueHTMLText","clickType":"clickMore","discardInitialElements":false},{"parentSelectors":["show more channels"],"type":"SelectorText","multiple":true,"id":"more channels","selector":"div.selectItem","delay":"5000","regex":""}],"_id":"suppose"}
Reply all
Reply to author
Forward
0 new messages