Skip to content

Clicking on the first link in the main text of a Wikipedia article, and then repeating the process for subsequent articles, usually leads to the Philosophy article. This Python script lets you do the clicking programmatically.

License

Notifications You must be signed in to change notification settings

black-fractal/wikipedia-philosophy-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Clicking on the first link in the main text of a Wikipedia article, and then repeating the process for subsequent articles, usually leads to the Philosophy article. This Python script lets you do the clicking programmatically.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages