Closed Abdurrafey-Siddiqui closed 1 year ago
Using the default AioHTTPSession. Also note that I manually added the httpsession folder and files since pip install upgrade did not add the files
Hi, thanks for reporting both issues.
I dedicated https://github.com/Danie1/threads-api/releases/tag/v1.1.11 for you @Abdurrafey-Siddiqui 🚀
Thanks @Danie1. Also wanted to know is the script mean to create some sort of file with login cache? Because I didn't see anything pop up. Also great communication.
Thanks.
Yes, once you specify the cached_token_path
in the login() function the file in the path will be created after a successful login process. It will include your BEARER TOKEN encrypted.
It posts the thread but I think there is an issue in creating the session to avoid future logins.
Post has been successfully posted ERROR:Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x0000014F7491D130> ERROR:Unclosed connector connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x0000014F749E2160>, 245380.64)]'] connector: <aiohttp.connector.TCPConnector object at 0x0000014F7491D190>
My code: