Bugfixes by @cwt (#42)
* check for missing actor in stream item * reply on my own status * fix img exceed div * check for "actor" key in item.meta before render * force UTF-8 text encoding * check if a is a dict or string * check d object must be dict to get url or id * json/atom/rss feed * handle missing root_id * fix newer-link hover * fix older-link position * quick hack to support peertube video * enable IndieAuth endpoint * fix 500 when remote follow
This commit is contained in:
@@ -48,6 +48,7 @@ def fetch_og_metadata(user_agent, links):
|
||||
logger.debug(f"skipping {l}")
|
||||
continue
|
||||
|
||||
r.encoding = 'UTF-8'
|
||||
html = r.text
|
||||
try:
|
||||
data = dict(opengraph.OpenGraph(html=html))
|
||||
|
Reference in New Issue
Block a user