From f61d213b6a87f1524ea1fe77e0321e6e143480db Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 6 Apr 2026 02:41:10 +0200 Subject: [PATCH 1/3] parse:parse_submission_page - prev and next tags can be missing --- faapi/parse.py | 2 -- 1 file changed, 2 deletions(-) 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") From fc7e17636ca35698600a01a3c0ee4434f347e61f Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 6 Apr 2026 02:42:26 +0200 Subject: [PATCH 2/3] changelog:3.12.3 - add fixes --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 From 74fd816db7040a56ffe4c82d9e89a019d3a23468 Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Mon, 6 Apr 2026 02:42:43 +0200 Subject: [PATCH 3/3] version - patch 3.12.2 > 3.12.3 --- faapi/__version__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/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"