diff --git a/CHANGELOG.md b/CHANGELOG.md index b9e2480..61abb3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v3.12.3 + +### Fixes + +* Fix `ParsingError` being raised on the first and last submission of a user's gallery/scraps + ## v3.12.2 ### Fixes diff --git a/faapi/__version__.py b/faapi/__version__.py index e2257b3..10cae7f 100644 --- a/faapi/__version__.py +++ b/faapi/__version__.py @@ -1 +1 @@ -__version__ = "3.12.2" +__version__ = "3.12.3" diff --git a/faapi/parse.py b/faapi/parse.py index f644bb4..6cabe08 100644 --- a/faapi/parse.py +++ b/faapi/parse.py @@ -553,8 +553,6 @@ def parse_submission_page(sub_page: BeautifulSoup) -> dict[str, Any]: assert tag_description is not None, _raise_exception(ParsingError("Missing description tag")) assert tag_folder is not None, _raise_exception(ParsingError("Missing folder tag")) assert tag_file_url is not None, _raise_exception(ParsingError("Missing file URL tag")) - assert tag_prev is not None, _raise_exception(ParsingError("Missing prev tag")) - assert tag_next is not None, _raise_exception(ParsingError("Missing next tag")) tag_footer: Optional[Tag] = tag_description.select_one("div.submission-footer") diff --git a/pyproject.toml b/pyproject.toml index b36e43d..998c849 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "faapi" -version = "3.12.2" +version = "3.12.3" description = "Python module to implement API-like functionality for the FurAffinity.net website." authors = ["Matteo Campinoti "] license = "EUPL-1.2"