Spaces:
Build error
Build error
Parse Dutch results correctly
Browse files
app.py
CHANGED
@@ -338,7 +338,7 @@ def mick_rijmwoordenboek(word: str, n_words: int):
|
|
338 |
html = get(url)
|
339 |
soup = Soup(html)
|
340 |
|
341 |
-
results = soup.find("div", {"id": "rhymeResultsWords"}).html.split("<br
|
342 |
|
343 |
# clean up
|
344 |
results = [r.replace("\n", "").replace(" ", "") for r in results]
|
|
|
338 |
html = get(url)
|
339 |
soup = Soup(html)
|
340 |
|
341 |
+
results = soup.find("div", {"id": "rhymeResultsWords"}).html.split("<br>")
|
342 |
|
343 |
# clean up
|
344 |
results = [r.replace("\n", "").replace(" ", "") for r in results]
|