diff --git a/setup.py b/setup.py index 4a49eb568..011a9bf4c 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (c) 2018 Tatu Ylonen. See LICENSE and https://ylonen.org +# Copyright (c) 2018-2020 Tatu Ylonen. See LICENSE and https://ylonen.org from setuptools import setup @@ -26,7 +26,6 @@ "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", - "Natural Language :: Finnish", "Operating System :: OS Independent", "Operating System :: POSIX :: Linux", "Programming Language :: Python", diff --git a/wiktextract/wiktionary.py b/wiktextract/wiktionary.py index f1585ef14..450dded5c 100644 --- a/wiktextract/wiktionary.py +++ b/wiktextract/wiktionary.py @@ -257,6 +257,8 @@ def capture_specials_fn(dt): """Captures certain special pages that are needed for processing other pages.""" assert isinstance(dt, dict) + if "redirect" in dt: + return [] title = dt["title"] text = dt["text"] model = dt["model"]