summaryrefslogtreecommitdiff
path: root/generate-random-word-from-wikipedia.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate-random-word-from-wikipedia.sh')
-rwxr-xr-xgenerate-random-word-from-wikipedia.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/generate-random-word-from-wikipedia.sh b/generate-random-word-from-wikipedia.sh
index dee670e..6b43c81 100755
--- a/generate-random-word-from-wikipedia.sh
+++ b/generate-random-word-from-wikipedia.sh
@@ -25,7 +25,8 @@ if [ ! -s "${base_dir}/.words.${depth}" ]; then
done
printf '%s\n' "${urls[@]}" \
- | parallel -j0 -n1 "${base_dir}/remove-tags.sh" \
+ | parallel -j0 -n1 curl -x 'socks5://127.0.0.1:9050' -s \
+ | "${base_dir}/remove-tags.sh" \
| tr -C '[a-zA-ZäöüÄÖÜß]' '\n' \
| grep -vxF '' \
| sort -u \