Added "tr" description language.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2022-05-20 14:09:02 +03:00
committed by Konstantin Pastbin
parent a576f529a4
commit 11585e07bb
2 changed files with 5 additions and 3 deletions

View File

@@ -156,7 +156,8 @@ class StageDownloadDescriptions(Stage):
threads_count=settings.THREADS_COUNT,
)
langs = ("en", "ru", "es", "fr", "de")
# https://en.wikipedia.org/wiki/Wikipedia:Multilingual_statistics
langs = ("en", "de", "fr", "es", "ru", "tr")
checker = check_and_get_checker(env.paths.popularity_path)
download_from_wikipedia_tags(
env.paths.wiki_url_path, env.paths.descriptions_path, langs, checker