I am trying to fetch all pages in one category, I want to be able to just get if the current page is a category and I don't want to retrieve other information about it.
But before and after fetching the summary I don't get the same result:
Example:
import wikipediaapi
wiki = wikipediaapi.Wikipedia(user_agent='MyProjectName (merlin@example.com) ', language='en')
physics = wiki.page("Category:Physics")
print(physics.ns)
physics.summary
print(physics.ns)
Output:
Config:
Python 3.12.3
wikipediaapi 0.11
Does anyone knows how to fix it ?
I am trying to fetch all pages in one category, I want to be able to just get if the current page is a category and I don't want to retrieve other information about it.
But before and after fetching the summary I don't get the same result:
Example:
Output:
Config:
Python 3.12.3
wikipediaapi 0.11
Does anyone knows how to fix it ?