Skip to content

SomeRandomGuy009/wikipedia-summary-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages