Hi,
thank you for this great tool.
using this code (W16H16 instead of W64H64)
files = api.get_category_files(
GalleryCategory.RECOMMEND,
dimension=GalleryDimension.W16H16,
I receive the following error:
Traceback (most recent call last):
File "pmr.py", line 25, in
pixel_bean = api.download(info)
File "/GitHub/apixoo/apixoo/init.py", line 203, in download
return PixelBeanDecoder.decode_stream(resp.raw)
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 315, in decode_stream
return AnimSingleDecoder(fp).decode()
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 102, in decode
decrypted_data = self._decrypt_aes(encrypted_data)
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 36, in _decrypt_aes
return cipher.decrypt(data)
File "/usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py", line 295, in decrypt
return self._cipher.decrypt(ciphertext)
TypeError: argument must be read-only bytes-like object, not bytearray
Do you have an idea on how to handle 16x16 ?
It is using AnimSingleDecoder class
Hi,
thank you for this great tool.
using this code (W16H16 instead of W64H64)
I receive the following error:
Traceback (most recent call last):
File "pmr.py", line 25, in
pixel_bean = api.download(info)
File "/GitHub/apixoo/apixoo/init.py", line 203, in download
return PixelBeanDecoder.decode_stream(resp.raw)
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 315, in decode_stream
return AnimSingleDecoder(fp).decode()
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 102, in decode
decrypted_data = self._decrypt_aes(encrypted_data)
File "/GitHub/apixoo/apixoo/pixel_bean_decoder.py", line 36, in _decrypt_aes
return cipher.decrypt(data)
File "/usr/lib/python3/dist-packages/Crypto/Cipher/blockalgo.py", line 295, in decrypt
return self._cipher.decrypt(ciphertext)
TypeError: argument must be read-only bytes-like object, not bytearray
Do you have an idea on how to handle 16x16 ?
It is using AnimSingleDecoder class