https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD
Output
stdout
```bash
Reading list of APIs from path-to-apis.txt
1 APIs found
#########################################################################
# Downloading https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD
#########################################################################
Checking API... https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD
MediaWiki API seems to work but returned no index URL
API is OK: https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD
Checking index.php... https://scruffy.miraheze.org/w/index.php
ERROR: This wiki requires login and we are not authenticated
Error in index.php.
Please, provide a correct path to index.php or use --xmlrevisions. Terminating.
```
errors.log
```text
```
Platform Details
Desktop
OS and version: Windows 10
File system: NTFS
Python version: Python 3.11.5
Terminal application used: Windows Terminal, Version: 1.17.11461.0
Command line shell: GNU bash, version 5.1.16(1)-release (x86_64-pc-msys)
I was putting the --generator-arg=--user USER --pass PASSWORD in the text file when it should have gone on the command line.
This works:
launcher path-to-apis.txt -g=--user -g=USER -g=--pass -g=PASSWORD
Describe the Bug
I can dump a private wiki with dumpgenerator but not with launcher.
Expected Behavior
Actual Behavior
Command for Reproducing the Bug
$ launcher path-to-apis.txt
File path-to-apis.txt contains the line
Output
```bash Reading list of APIs from path-to-apis.txt 1 APIs found ######################################################################### # Downloading https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD ######################################################################### Checking API... https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD MediaWiki API seems to work but returned no index URL API is OK: https://scruffy.miraheze.org/w/api.php --generator-arg=--user USER --pass PASSWORD Checking index.php... https://scruffy.miraheze.org/w/index.php ERROR: This wiki requires login and we are not authenticated Error in index.php. Please, provide a correct path to index.php or use --xmlrevisions. Terminating. ```stdout
```text ```errors.log
Platform Details
Desktop
Additional Context