From 07c5434ceaf1ad3d0bba9dfa0f1f2fd35794cd48 Mon Sep 17 00:00:00 2001 From: jfm Date: Thu, 2 May 2024 09:24:51 +0200 Subject: [PATCH] MediaAttachment debuggingw --- src/mastodon/timelines.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mastodon/timelines.py b/src/mastodon/timelines.py index cd2b208..9e05670 100644 --- a/src/mastodon/timelines.py +++ b/src/mastodon/timelines.py @@ -1,5 +1,6 @@ from mastodon.authorization import MastodonAuthorization from mastodon.config import MastodonConfiguration +from loguru import logger import requests @@ -22,4 +23,5 @@ class Timelines(): parameters["limit"] = limit response = requests.get(url, headers=self.auth.get_auth_headers(), params=parameters) + logger.debug("JSON: {}".format(response.raw())) return response.json()