An open API service indexing awesome lists of open source software.

https://github.com/mazensayed91/getting-to-philosophy


https://github.com/mazensayed91/getting-to-philosophy

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Getting-to-Philosophy
Clicking on the first link in the main body of a Wikipedia article and repeating the process for subsequent articles would usually lead to the article Philosophy.

The program should receive a Wikipedia link as an input, go to another normal link and repeat this process until either Philosophy page is reached, or we are in an article without any outgoing Wikilinks, or stuck in a loop.

A "normal link" is a link from the main page article, not in a box, is blue (red is for non-existing articles), not in parentheses, not italic and not a footnote.


  • The first code doesn't filter angular and square brackets

  • The second code filters angular and square brackets using RegEx





# Working on more efficient code with scrapy that will be added soon!