def construct_url(title, lang="en"): return "https://{}.wikipedia.org/w/api.php?action=query&prop=links&pllimit=500&titles={}&format=json".format(lang, title)