def explore(self, **kwargs):
        """
        Get explore items

        :param kwargs:
            - **max_id**: For pagination
        :return:
        """
        query = {'is_prefetch': 'false', 'is_from_promote': 'false'}
        query.update(kwargs)
        res = self._call_api('discover/explore/', query=query)
        if self.auto_patch:
            [ClientCompatPatch.media(item['media'], drop_incompat_keys=self.drop_incompat_keys)
             if item.get('media') else item for item in res['items']]
        return res

        Get explore items

        :param kwargs:
            - **max_id**: For pagination
        :return:
        
instagram_private_api/endpoints/discover.py