/wikipedia-summary-scraper

The get_wikipedia_summaries function makes use of the Wikipedia API to search for the given query and then retrieve the summary for each search result.

Primary LanguagePythonMIT LicenseMIT

Wikipedia Summary Scraper

This project contains a Python script that allows you to retrieve summaries of Wikipedia articles based on a list of queries.

Requirements

  1. Python
  2. The requests library

Usage:

Run the file and wait for a while. Set the article limit to whatever you want (max_limit=500).

Limitations:

  1. Can only get first 500 words.
  2. Can only get upto 500 articles for each search query.