From 5f35b45b0b15e0f66608b9c774b76f39e7aa93ee Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Fri, 6 Dec 2019 14:47:44 -0800 Subject: 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). --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') 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 ``` -- cgit v1.2.3