This commit is contained in:
Edward Betts 2022-08-17 14:48:20 +01:00
parent 5f8900a47a
commit b1f402e1f9
2 changed files with 16 additions and 8 deletions

View file

@ -147,7 +147,7 @@ class Article:
def __init__(self, enwiki: str) -> None:
"""Make a new Article object."""
self.enwiki = enwiki
self.enwiki = enwiki.replace("_", " ")
self.links = get_article_links(enwiki)