yacy_search_server/bin/importmediawiki.sh
luccioman f66438442e Extended Mediawiki dump import to remote URLs.
When using a public HTTP URL in /IndexImportMediawiki_p.html, the remote
file now is directly streamed and processed, allowing import of several
GB dumps even with a low memory remote peer, and without need to
manually download the dump file first.
2017-04-14 14:32:44 +02:00

4 lines
102 B
Bash
Executable File

#!/usr/bin/env sh
cd "`dirname $0`"
./protectedPostApiCall.sh "IndexImportMediawiki_p.html" "file=$1"