seltzerfish / degrees-of-wikipedia

Get from one wikipedia page to another in as few clicks as possible
47 stars 3 forks source link

Improve user-input flexibility #3

Open tterb opened 6 years ago

tterb commented 6 years ago

Description

After reading through the existing code, I implemented minor changes that allow the functionality discussed in #2. The changes are exclusively limited to modifying the strip_url() function and an if-statement in check_links() to make it a more robust.

Motivation and Context

Solution for #2

How Has This Been Tested?

From my manual testing, I didn't experience any errors with the changes, including when the user inputs a combination of terms and URLs.

Types of changes


This change is Reviewable