Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #211 #220

Merged
merged 4 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ Each wiki will be stored into files contiaining a stripped version of the url an
By default, a `7z` executable is found on `PATH`. The `--7z-path` argument can be used to use a specific executable instead.

The `--generator-arg` or `-g` argument can be used on the command line to pass through arguments to the `generator` instances that are spawned. For example:
- `--generator-arg=--xmlrevisions` to use the modern MediaWiki API for retrieving revisions
- `--generator-arg=--delay=2` to use a delay of 2 seconds between requests
- `-g=--user -g=USER -g=--pass -g=PASSWORD` to dump a wiki that only logged in users can read
* `--generator-arg=--xmlrevisions` to use the modern MediaWiki API for retrieving revisions
* `--generator-arg=--delay=2` to use a delay of 2 seconds between requests
* `-g=--user -g=USER -g=--pass -g=PASSWORD` to dump a wiki that only logged in users can read

## `Uploader`

Expand Down
2 changes: 1 addition & 1 deletion wikiteam3/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def main():
# compress
if finished:
time.sleep(1)
os.chdir(wikidir)
os.chdir(Path(wikidir))
print("Changed directory to", os.getcwd())
# Basic integrity check for the xml. The script doesn't actually do anything, so you should check if it's broken. Nothing can be done anyway, but redownloading.
subprocess.call(
Expand Down
Loading