def media_info(self, short_code, **kwargs):     # pragma: no cover
        """
        OBSOLETE. Get media info. Does not properly extract carousel media.

        :param short_code: A media's shortcode
        :param kwargs:
        :return:
        """
        warnings.warn(
            'This endpoint is obsolete. Do not use.', ClientDeprecationWarning)

        params = {
            'q': 'ig_shortcode({media_code}) {{ caption, code, comments {{count}}, date, '
                 'dimensions {{height, width}}, comments_disabled, '
                 'usertags {{nodes {{x, y, user {{id, username, full_name, profile_pic_url}} }} }}, '
                 'location {{id, name, lat, lng}}, display_src, id, is_video, is_ad, '
                 'likes {{count}}, owner {{id, username, full_name, profile_pic_url, '
                 'is_private, is_verified}}, __typename, '
                 'thumbnail_src, video_views, video_url }}'.format(
                     **{'media_code': short_code})
        }
        media = self._make_request(self.API_URL, params=params)
        if not media.get('code'):
            raise ClientError('Not Found', 404)

        if self.auto_patch:
            media = ClientCompatPatch.media(media, drop_incompat_keys=self.drop_incompat_keys)
        return media

        OBSOLETE. Get media info. Does not properly extract carousel media.

        :param short_code: A media's shortcode
        :param kwargs:
        :return:
        
instagram_web_api/client.py