最近背单词, 发现扇贝单词效率太低了, 然后想办法将扇贝单词抓出来, 导入到其他背单词的软件里, 比如知米
使用Web Scraper 插件搞定:
{"_id":"shanbay","startUrl":["https://web.shanbay.com/wordsweb/#/words-table"],"selectors":[{"id":"NotLearn","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"_root","multiple":false,"delay":2000,"clickElementSelector":"div#4 ","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"word","type":"SelectorText","parentSelectors":["_root","page"],"selector":"div[class^='index_wordName']","multiple":true,"regex":"","delay":0},{"id":"page","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div[class^='index_wrapper']","multiple":true,"delay":2000,"clickElementSelector":"li","clickType":"clickMore","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"}]}
来源:oschina
链接:https://my.oschina.net/kshuang/blog/4927729