diff --git a/dumpgenerator.py b/dumpgenerator.py index 39c4010..19d26e9 100644 --- a/dumpgenerator.py +++ b/dumpgenerator.py @@ -940,7 +940,7 @@ def main(params=[]): config, other = getParameters(params=params) #notice about wikipedia dumps - if re.findall(r'(wikipedia|wikisource|wiktionary|wikibooks|wikiversity|wikimedia|wikispecies|wikiquote|wikinews|wikidata|wikivoyage)\.org', config['api']+config['index']): + if re.findall(r'(?i)(wikipedia|wikisource|wiktionary|wikibooks|wikiversity|wikimedia|wikispecies|wikiquote|wikinews|wikidata|wikivoyage)\.org', config['api']+config['index']): print 'PLEASE, DO NOT USE THIS SCRIPT TO DOWNLOAD WIKIMEDIA PROJECTS!' print 'Download the dumps from http://dumps.wikimedia.org' if not other['force']: