aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCody Logan <clpo13@gmail.com>2019-12-06 14:47:44 -0800
committerCody Logan <clpo13@gmail.com>2019-12-06 14:47:44 -0800
commit5f35b45b0b15e0f66608b9c774b76f39e7aa93ee (patch)
treeae5e812ae60fe287fd35d56b1884a637ca64acf0 /README.md
parent8273f4cdc3a4ee67d936c2b0b06f3d5ee92c31bf (diff)
downloadwikiget-5f35b45b0b15e0f66608b9c774b76f39e7aa93ee.tar.gz
wikiget-5f35b45b0b15e0f66608b9c774b76f39e7aa93ee.zip
Switch to Wikimedia Commons as default site
Commons is intended as a repository for freely-usable media, so it makes more sense for it to be the default, and most images on Wikimedia sites (like English Wikipedia) are also available there. The functionality for specifying alternate sites is left in case users want to download fair-use media, which is not available on Commons, as well as for the possible future integration with non-Wikimedia MediaWiki sites (like Fandom/Wikia).
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index a6500ad..6522494 100644
--- a/README.md
+++ b/README.md
@@ -15,9 +15,9 @@ Requires Python 2.7 or 3.5+. Install with `pip install --user wikiget` or, if yo
`wikiget [-h] [-V] [-q | -v] [-f] [-a] [--site SITE] [-o OUTPUT] FILE`
If `FILE` is in the form `File:Example.jpg` or `Example.jpg`, it will be fetched
-from the default site, which is "en.wikipedia.org". If it's the fully-qualified
-URL of a file description page, like `https://commons.wikimedia.org/wiki/File:Example.jpg`,
-the file is fetched from the specified site, in this case "commons.wikimedia.org".
+from the default site, which is "commons.wikimedia.org". If it's the fully-qualified
+URL of a file description page, like `https://en.wikipedia.org/wiki/File:Example.jpg`,
+the file is fetched from the specified site, in this case "en.wikipedia.org".
Full URLs may contain characters your shell interprets differently, so you can
either escape those characters with a backslash `\` or surround the entire URL
with single `'` or double `"` quotes.
@@ -42,7 +42,7 @@ offending filename is printed.
```bash
wikiget File:Example.jpg
-wikiget --site commons.wikimedia.org File:Example.jpg
+wikiget --site en.wikipedia.org File:Example.jpg
wikiget https://en.wikipedia.org/wiki/File:Example.jpg -o test.jpg
```