/WikiScrape

Wikipedia scraper given keywords

Primary LanguagePython

WikiScrape

A web scraper for Wikipedia: https://en.wikipedia.org/

Getting Started

On Linux:

Download the repository, extract zip folder to desired location

Install dependencies with pip3 (requests, bs4, json, urllib, argparse, logging, re)

Navigate to directory or add to path to use

Come up with a keyword, may be more than one word long (names, places, etc)

Usage:

python3 WikiScrape.py [keyword]

A markdown and json file should be generated with the content of the page of that keyword.

Help

Please open an issue if you require help.