Hello. Im trying to scrape https://patch.moe/ There are buttons for language change. Ive made this map
{"_id":"patch-moe","startUrl":["https://patch.moe/"],"selectors":[{"id":"name","parentSelectors":["tables"],"type":"SelectorText","selector":"td.title","multiple":false,"regex":""},{"id":"patch-link","parentSelectors":["tables"],"type":"SelectorLink","selector":"a","multiple":false,"linkType":"linkFromHref"},{"id":"tables","parentSelectors":["lang"],"type":"SelectorElement","selector":"tr:nth-of-type(n+2)","multiple":true},{"id":"lang","parentSelectors":["_root"],"type":"SelectorElementClick","clickActionType":"real","clickElementSelector":"a.default","clickElementUniquenessType":"uniqueText","clickType":"clickOnce","delay":2000,"discardInitialElements":"do-not-discard","multiple":true,"selector":"a.default"}]}
The tables selector works on a single page, but when I try to change language with lang it does change language, but I get no data. How come? Thanks.
Thanks. Did you scrape 3 pages separately and merge them manually or did you do it in one pass with some map? If so, can you share the map please? I'm trying to automate it, so that in can be scheduled server-side.
I did it manually for 1 minute