hgrif commited on
Commit
440ad03
β€’
1 Parent(s): f1918f3

Parse Dutch results correctly

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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]