wptools
wptools copied to clipboard
redirection
Hi is it possible to retrieve a non-directed page? In contrast to the doc,
import wptools
wptools.page('Gandhi')
returns the redirection to Mahatma Gandhi
and not the redirection page itself? I would like to know whether a request has been redirected or not. Of course I could check in data["redirects"] but I'd like to have the original page and the name of the page which the redirection points to