4 lines
161 B
Python
4 lines
161 B
Python
|
|
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)
|