diff --git a/tubearchivist/api/views.py b/tubearchivist/api/views.py index d938b2f..4ad216e 100644 --- a/tubearchivist/api/views.py +++ b/tubearchivist/api/views.py @@ -86,7 +86,8 @@ class VideoApiView(ApiBaseView): # pylint: disable=unused-argument """get request""" self.get_document(video_id) - self.process_keys() + if self.response.get("data"): + self.process_keys() return Response(self.response, status=self.status_code)