diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-16 17:02:20 -0800 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-16 17:02:20 -0800 |
| commit | 2965c31e8cb0e02b96b2e8e5c802cc0649ff8abf (patch) | |
| tree | b6a1158dcae5542969bc984bb4c1dfda1fd7f3d2 /src | |
| parent | abf8d1cbf22bb5aa5a1dc8a7380177af05bb4b23 (diff) | |
| download | wikiget-2965c31e8cb0e02b96b2e8e5c802cc0649ff8abf.tar.gz wikiget-2965c31e8cb0e02b96b2e8e5c802cc0649ff8abf.zip | |
Add docstring to wikiget package
Diffstat (limited to 'src')
| -rw-r--r-- | src/wikiget/__init__.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/wikiget/__init__.py b/src/wikiget/__init__.py index e0584bb..698fe46 100644 --- a/src/wikiget/__init__.py +++ b/src/wikiget/__init__.py @@ -15,6 +15,30 @@ # You should have received a copy of the GNU General Public License # along with Wikiget. If not, see <https://www.gnu.org/licenses/>. +"""Wikiget is a tool for downloading files from MediaWiki sites. + +It's similar in conception to download tools like wget, but wikiget can use the name of +the file or the URL of its description page to get the actual file's URL and download +it. Additionally, it can download multiple files at once by reading the targets from a +given text file. + +Further documentation can be found in the accompanying README.md file or at +<https://github.com/clpo13/wikiget>. + +Basic usage:: + + wikiget [options] FILE + wikiget [options] [-a|--batch] BATCHFILE + +Examples:: + + wikiget File:Example.jpg + wikiget --site en.wikipedia.org File:Example.jpg + wikiget https://en.wikipedia.org/wiki/File:Example.jpg -o output.jpg + wikiget -a -j4 batch.txt + +""" + from mwclient import __version__ as mwclient_version from wikiget.version import __version__ |
