docs: correct typo in error message
This commit is contained in:
parent
7e06b62867
commit
d72e68cb19
|
|
@ -96,7 +96,7 @@ def get_paper(url: str) -> str:
|
|||
container = soup.find("td", class_="b12c")
|
||||
assert container, f"Can not get paper container from url: {url}"
|
||||
ret = container.get_text().replace("\u3000\u3000", "\n")
|
||||
assert ret, f"Can not get paper context from url: {url}"
|
||||
assert ret, f"Can not get paper content from url: {url}"
|
||||
return ret
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user