# This program 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
@ -15,12 +15,24 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
importargparse
importos
importre
importsys
importos
importtime
importurllib
defmain():
parser=argparse.ArgumentParser(description='Downloader of Wikimedia dumps')
#parser.add_argument('-f', '--families', help='Choose which family projects to download (e.g. all, wikipedia, wikibooks, wikinews, wikiquote, wikisource, wikivoyage, wiktionary)', required=False)
parser.add_argument('-r','--maxretries',help='Max retries to download a dump when md5sum doesn\'t fit. Default: 3',required=False)
parser.add_argument('-s','--start',help='Start to download from this project (e.g.: eswiki, itwikisource, etc)',required=False)