You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submission footers are now separated from the submission description and stored in the Submission.footer field
The BBCode of the footer can be accessed with the Submission.footer_bbcode property
Generate user icon URLs
New generate_user_icon_url() method added to UserPartial and User to create the URL for the current user icon
BBCode to HTML conversion
Work-in-progress version of a BBCode converter based on the bbcode library
Converter function is located in the parse submodule: faapi.parse.bbcode_to_html()
The majority of HTML fields (submission descriptions, journal contents, comments, etc.) can be converted back and forth between HTML and BBCode without loosing information
If a submission contains incorrect or very unusual BBCode tags or text, the BBCode to HTML conversion may create artifacts and tags that did not exist in the original content
鈿欙笍 Changes
Added Journal.header_bbcode and Journal.footer_bbcode properties to convert Journal.header and Journal.footer to BBCode
Return None instead of 0 (or "" for favorites) when reaching the last page with FAAPI.gallery() , FAAPI.scraps(), FAAPI.journals(), FAAPI.favorites(), FAAPI.watchlist_by(), and FAAPI.watchlist_to()
Added __hash__ method to User, UserPartial, Submission, SubmissionPartial, Journal, JournalPartial, and Comment; the hash value is calculated using the same fields used for equality comparisons