def search_igtv(self, text):
        """
        Search igtv

        :param text: Search term
        """
        text = text.strip()
        if not text.strip():
            raise ValueError('Search text cannot be empty')

        res = self._call_api('igtv/search/', query={'query': text})
        if self.auto_patch:
            for r in res.get('results', []):
                [ClientCompatPatch.media(m, drop_incompat_keys=self.drop_incompat_keys)
                 for m in r.get('channel', {}).get('items', [])]
                if r.get('user'):
                    ClientCompatPatch.user(r['user'], drop_incompat_keys=self.drop_incompat_keys)
        return res

        Search igtv

        :param text: Search term
        
instagram_private_api/endpoints/igtv.py