Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v3.11.7

### Changes

* Updated parser to work correctly with FurAffinity's new tag-blocking feature on submission pages

## v3.11.6

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion faapi/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.11.6"
__version__ = "3.11.7"
2 changes: 1 addition & 1 deletion faapi/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def parse_submission_page(sub_page: BeautifulSoup) -> dict[str, Any]:
tag_title: Optional[Tag] = tag_sub_info.select_one("div.submission-title")
tag_author: Optional[Tag] = sub_page.select_one("div.submission-id-container")
tag_date: Optional[Tag] = sub_page.select_one("div.submission-id-container span.popup_date")
tag_tags: list[Tag] = sub_page.select("section.tags-row a")
tag_tags: list[Tag] = sub_page.select('section.tags-row a[href^="/"]')
tag_views: Optional[Tag] = sub_page.select_one("div.views span")
tag_comment_count: Optional[Tag] = sub_page.select_one("section.stats-container div.comments span")
tag_favorites: Optional[Tag] = sub_page.select_one("div.favorites span")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "faapi"
version = "3.11.6"
version = "3.11.7"
description = "Python module to implement API-like functionality for the FurAffinity.net website."
authors = ["Matteo Campinoti <matteo.campinoti94@gmail.com>"]
license = "EUPL-1.2"
Expand Down
Loading