Rewrote OSRC to use HTML scraping because the API has been changed
This commit is contained in:
parent
c7d2535098
commit
807cbf3f07
3 changed files with 13 additions and 13 deletions
|
@ -24,6 +24,4 @@ def suggest(inp):
|
|||
soup = BeautifulSoup(out)
|
||||
out = soup.get_text()
|
||||
|
||||
out = text.truncate_str(out, 200)
|
||||
|
||||
return out
|
||||
return text.truncate_str(out, 200)
|
||||
|
|
Reference in a new issue