v4.0
版本发布时间: 2022-03-24 13:54:11
snarfed/granary最新发布版本:v6.1(2023-09-16 22:20:19)
Breaking changes
- Drop Python 3.5 support. Python 3.6 is now the minimum required version.
Non-breaking changes
- Add new
include_shares
kwarg toget_activities
, implemented for Twitter and Mastodon. Defaults toTrue
. IfFalse
, shares (retweets in Twitter, boosts in Mastodon) will be discarded and not returned. Also add a correspondingshares
query param to the REST API. - RSS:
- Add support for RSS input via new
rss.to_activities
function.
- Add support for RSS input via new
- Instagram (scraping):
- Handle media items with no
user
object, add new fetch for comments. - Add
Instagram.merge_scraped_comments()
.
- Handle media items with no
- ActivityStreams 2:
- Handle error when
type
isn't a string.
- Handle error when
- Reddit:
- Implement
get_activities()
to fetch posts by the current user or a user specified withuser_id
.
- Implement
- Facebook scraping:
- Skip "Suggested for you" posts.
- Add
log_html
kwarg toget_activities
; defaults to False. - Miscellaneous bug fixes.
- JSONFeed:
- Handle malformed
items.author
element.
- Handle malformed