Skip to content

Find a path of links between two Wikipedia articles

License

Notifications You must be signed in to change notification settings

Arilucea/Wikiracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikiracer

Find a path between two wikipedia articles by doing a bidirectional breadth-first search.

Usage

go run racer.go -start=[first article] -end=[last article]

Example

go run racer.go -start="https://en.wikipedia.org/wiki/Battle_of_Cr%C3%A9cy" -end="https://en.wikipedia.org/wiki/Wehrmacht"

Result:

Path found:
https://en.wikipedia.org/wiki/Battle_of_Crécy
https://en.wikipedia.org/wiki/Battle of Sluys
https://en.wikipedia.org/wiki/Channel Islands
https://en.wikipedia.org/wiki/Wehrmacht

About

Find a path of links between two Wikipedia articles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages