Fix issue with .7z archives

Before, only fandom wikis dumps were compressed with .7z.
These archives can have several .xml files in the .7z; not just one.
So we need to have a flag for the fandom-2020 dumps.

This fixes the bug so .7z archives work in either case.
This commit is contained in:
Nathan TeBlunthuis
2025-05-28 21:31:41 -07:00
parent 39fec0820d
commit 2a2b611d79
3 changed files with 19 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"deltas>=0.7.0",
"mw>=0.4.0",
"mediawiki-utilities>=0.4.18",
"mwpersistence>=0.2.4",
"mwreverts>=0.1.5",
"mwxml>=0.3.6",