Browse Source

Fix deduplication within each section processing

master
JustAnotherArchivist 4 years ago
parent
commit
256a94443e
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      wiki-recursive-extract-normalise

+ 5
- 0
wiki-recursive-extract-normalise View File

@@ -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 ]]


Loading…
Cancel
Save