Since tenor updated their API to V2 sending gifs no longer works.
I have changed the search address used to the V2 but I am still getting errors with it.
File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\client.py", line 232, in send_gif_image
return self._send_xmpp_element(chatting.OutgoingGIFMessage(peer_jid, search_term, True))
File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\datatypes\xmpp\chatting.py", line 428, in init
self.gif_preview, self.gif_data = self.get_gif_data(search_term)
File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\datatypes\xmpp\chatting.py", line 479, in get_gif_data
img = Image.open(BytesIO(response.content))
File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 3283, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x000002058D20B400>
Since tenor updated their API to V2 sending gifs no longer works. I have changed the search address used to the V2 but I am still getting errors with it.
File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\client.py", line 232, in send_gif_image return self._send_xmpp_element(chatting.OutgoingGIFMessage(peer_jid, search_term, True)) File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\datatypes\xmpp\chatting.py", line 428, in init self.gif_preview, self.gif_data = self.get_gif_data(search_term) File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\kik_unofficial\datatypes\xmpp\chatting.py", line 479, in get_gif_data img = Image.open(BytesIO(response.content)) File "C:\Users\Jason\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 3283, in open raise UnidentifiedImageError(msg) PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x000002058D20B400>