Find the shortest path between two Wikipedia articles using the breadth-first search algorithm.
Inspired by this CS50 Project.
-
Clone this repository to your local machine.
-
Ensure that you have installed Python.
-
Install the dependencies listed in requirements.txt.
pip install -r requirements.txt
-
Run wikipedia_connections.py.
You will be prompted to provide the language of the Wikipedia edition you want to use, the title (or URL) of the initial article and the title (or URL) of the final article.
Alternatively, you can provide the aforementioned information as three command-line arguments, like this:
python wikipedia_connections.py [language] [initial_article] [final_article]
This project is licensed under the MIT License - see the LICENSE file for details.