Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirection #176

Open
jheinecke opened this issue Apr 23, 2023 · 0 comments
Open

redirection #176

jheinecke opened this issue Apr 23, 2023 · 0 comments

Comments

@jheinecke
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant