Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 2.85 KB

README.md

File metadata and controls

55 lines (41 loc) · 2.85 KB

Wikipedia Philosophy Game!

made-with-python ide code-size total-lines commit-activity last-commit downloads license

A python script that allows you to play Wikipedia's Getting to Philosophy game.

Brief Summary

Logo! Clicking on the first non-parenthesized, non-italicized link, in the main text of a Wikipedia article, and then repeating the process for subsequent articles, usually eventually gets one to the Philosophy article. (See this Wikipedia essay for more information)

The Philosophy Game, written in Python, lets you do the clicking programmatically.

Installation Steps

  1. Clone 'wikipedia-philosophy-game' from git:
    git clone https://github.com/black-fractal/wikipedia-philosophy-game.git

  2. Change the directory:
    cd wikipedia-philosophy-game-main

  3. Install the requirements:
    pip3 install -r requirements.txt

  4. Enjoy the program:+1:

Update to latest version:

Use following command to update to latest version:
git pull

Usage

  • To run with the normal crawler:
    cd src
    python3 philosophy-crawler.py
    output-of-philosophy-crawler
    Sample output

  • To run analyzer for the normal crawler:
    cd src
    python3 json-analysis.py

  • To run with the fast crawler:
    cd src
    python3 philosophy-fast-crawler.py

License

This tools is licensed under the GPL-3.0 License. take a look at the LICENSE for information about it.

watch twitter