Bläddra i källkod

Fix deduplication within each section processing

master
JustAnotherArchivist 4 år sedan
förälder
incheckning
256a94443e
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. +5
    -0
      wiki-recursive-extract-normalise

+ 5
- 0
wiki-recursive-extract-normalise Visa fil

@@ -51,6 +51,11 @@ do
url="${url%% | *}"
fi

if [[ "${sectionUrls[${url}]}" ]]
then
# Processed already, skip
continue
fi
sectionUrls["${url}"]=1
toProcess=("${url}")
while [[ ${#toProcess[@]} -gt 0 ]]


Laddar…
Avbryt
Spara