WFDownloader script for europeana.eu collections
WFDownloader script to download europeana.eu collectionsunknown
plain_text
3 years ago
604 B
90
Indexable
@label[id=1, label='collection page', urlregex=#/collections/topics#]
fetch via customhandler 'infinite_scroll' with [
'templateUrl' = 'https://api.europeana.eu/record/search.json?wskey=nLbaXYaiH&qf={{collection}}&qf=contentTier%3A%282%20OR%203%20OR%204%29&rows=24&profile=minimal&query=%2A%3A%2A&start=[1-10000]',
'collection' = '$htmlval:#&qf=(?<val>collection.+?)&query=#',
'increment' = '24',
'targetVals' = '$jsonval:$data->items[]->guid'
] indirectly {via label 2};
or
@label[id=2, label='item page', urlregex=#/item/#]
goto 'a[data-qa="download button"]' fetch a_href;Editor is loading...