def search(self, query_text):
        """
        General search

        :param query_text: Search text
        :return:
        """
        endpoint = 'https://www.instagram.com/web/search/topsearch/'
        res = self._make_request(endpoint, query={'query': query_text})
        if self.auto_patch:
            for u in res.get('users', []):
                ClientCompatPatch.list_user(u['user'])
        return res

        General search

        :param query_text: Search text
        :return:
        
instagram_web_api/client.py