docs: correct typo in error message

This commit is contained in:
NateScarlet 2021-09-22 19:42:50 +08:00
parent 7e06b62867
commit d72e68cb19
No known key found for this signature in database
GPG Key ID: 5C242793B070309C

View File

@ -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