diff options
| author | Tao Lin <831611+mirguest@users.noreply.github.com> | 2020-07-23 05:54:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-22 14:54:36 -0700 |
| commit | c25998bf12c5dd0e0866886fed54a95a2153e48b (patch) | |
| tree | 7924c96d6545160ae6a7312bac714c23e439a823 /wikiget/__init__.py | |
| parent | 1901be9d17b1b27adc95982b84fe8aa43d3c123e (diff) | |
| download | wikiget-c25998bf12c5dd0e0866886fed54a95a2153e48b.tar.gz wikiget-c25998bf12c5dd0e0866886fed54a95a2153e48b.zip | |
Support private mediawiki (#1)
* add relative path support.
* add username and password support.
Co-authored-by: Cody Logan <clpo13@gmail.com>
Diffstat (limited to 'wikiget/__init__.py')
| -rw-r--r-- | wikiget/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wikiget/__init__.py b/wikiget/__init__.py index 0225ec5..cb4f89f 100644 --- a/wikiget/__init__.py +++ b/wikiget/__init__.py @@ -22,5 +22,6 @@ from .version import __version__ # set some global constants BLOCKSIZE = 65536 DEFAULT_SITE = 'commons.wikimedia.org' +DEFAULT_PATH = '/w/' USER_AGENT = 'wikiget/{} (https://github.com/clpo13/wikiget) ' \ 'mwclient/{}'.format(__version__, mwclient_version) |
