A python
script that allows you to play Wikipedia's Getting to Philosophy
game.
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.
-
Clone 'wikipedia-philosophy-game' from git:
git clone https://github.com/black-fractal/wikipedia-philosophy-game.git
-
Change the directory:
cd wikipedia-philosophy-game-main
-
Install the requirements:
pip3 install -r requirements.txt
-
Enjoy the program:+1:
Use following command to update to latest version:
git pull
-
To run with the normal crawler:
cd src
python3 philosophy-crawler.py
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
This tools is licensed under the GPL-3.0 License. take a look at the LICENSE for information about it.