datopy.etl.retrieve_wiki_topics#

retrieve_wiki_topics(
listing_page: str,
verbose: bool = True,
) List[str][source]#

_summary_

Notes

Only hyperlinked topics (those with a Wikipedia page) are retrieved. Search Wikipedia’s catalogue of listing pages here: https://en.wikipedia.org/wiki/List_of_lists_of_lists

Parameters:
  • listing_page (str) – The title of a Wikipedia article containing topics to be retrieved.

  • verbose (bool, default=True) – Option to enable/disable printouts.

Returns:

target_pages – A list of topics (by article name) extracted from the listing page.

Return type:

List[str]