get_links¶
- WikipediaPage.get_links(extra_params={})¶
Retrieve links contained by a wikipedia page according to the API
Parameters: extra_params (dict, optional) – By default, the method will only retrieve links from the namespace 0 (usual pages) and skipped everything like templates, etc.
You can still get the other namespaces by updating the query with an extra parameters.
>>> p.get_links({ plnamspace: 12 })
Returns: links Return type: list