diff options
| author | Cody Logan <clpo13@gmail.com> | 2020-01-03 11:07:59 -0800 |
|---|---|---|
| committer | Cody Logan <clpo13@gmail.com> | 2020-01-03 11:07:59 -0800 |
| commit | 80de3d14325a15bf30f1d6863d996a4dd0d87e0f (patch) | |
| tree | b3ef72fce84749a40a86af8e04368eb31ffbfc55 /README.md | |
| parent | 3c2d03f02e644b8afc5178f7c1a11d50d6b21118 (diff) | |
| parent | 5f35b45b0b15e0f66608b9c774b76f39e7aa93ee (diff) | |
| download | wikiget-80de3d14325a15bf30f1d6863d996a4dd0d87e0f.tar.gz wikiget-80de3d14325a15bf30f1d6863d996a4dd0d87e0f.zip | |
Merge branch 'master' of github.com:clpo13/wikiget
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,9 +15,9 @@ Requires Python 3.5+. Install with `pip install --user wikiget` or, if you're us `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 ``` |
