Skip to content

Find a possible path between two works on TV Tropes using the depth-first search algorithm.

License

Notifications You must be signed in to change notification settings

giovanni-cutri/tv-tropes-connections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TV Tropes Connections

Find a possible path (which may not be the shortest) between two works on TV Tropes based on the common tropes they feature, using the depth-first search algorithm.

Inspired by this CS50 Project.

Usage

  • 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 tv_tropes_connections.py.

You will be prompted to provide the TV Tropes URL of the initial work and the final work.

Alternatively, you can provide the aforementioned information as two command-line arguments, like this:

python tv_tropes_connections.py [initial_work] [final_work]

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Find a possible path between two works on TV Tropes using the depth-first search algorithm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages