aboutsummaryrefslogtreecommitdiff
path: root/wikiget/__init__.py
diff options
context:
space:
mode:
authorCody Logan <clpo13@gmail.com>2020-01-28 13:50:01 -0800
committerCody Logan <clpo13@gmail.com>2020-01-28 13:50:01 -0800
commit21bd3641d69a8558fd75195a76ead8f07101768a (patch)
tree6ee9a9c4230f993c9db58212ff5dfdc5b73b8d35 /wikiget/__init__.py
parent71f9b13025882512f150d9b167c4dc7f91ab3b5c (diff)
downloadwikiget-21bd3641d69a8558fd75195a76ead8f07101768a.tar.gz
wikiget-21bd3641d69a8558fd75195a76ead8f07101768a.zip
Split main file into separate chunks
Diffstat (limited to 'wikiget/__init__.py')
-rw-r--r--wikiget/__init__.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/wikiget/__init__.py b/wikiget/__init__.py
index e69de29..253fcf8 100644
--- a/wikiget/__init__.py
+++ b/wikiget/__init__.py
@@ -0,0 +1,20 @@
+# wikiget - CLI tool for downloading files from Wikimedia sites
+# Copyright (C) 2018, 2019, 2020 Cody Logan
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# Wikiget is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Wikiget is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Wikiget. If not, see <https://www.gnu.org/licenses/>.
+
+# set some global constants
+BLOCKSIZE = 65536
+DEFAULT_SITE = 'commons.wikimedia.org'