From 21bd3641d69a8558fd75195a76ead8f07101768a Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Tue, 28 Jan 2020 13:50:01 -0800 Subject: Split main file into separate chunks --- wikiget/__init__.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'wikiget/__init__.py') 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 . + +# set some global constants +BLOCKSIZE = 65536 +DEFAULT_SITE = 'commons.wikimedia.org' -- cgit v1.2.3