How do I get the page URL of a wiki page with mwclient?

69 Views Asked by At

I'm using mwclient and I want to get the URL of the page loaded.

import mwclient
site = mwclient.Site('fr.wikipedia.org')
page = site.Pages['Curling aux Jeux olympiques de 2022']

Is it possible to get the url of the page? ⇒ 'https://fr.wikipedia.org/wiki/Curling_aux_Jeux_olympiques_de_2022'

0

There are 0 best solutions below