I am using chatbase.cohttps://www.chatbase.co/ where I am hosting several chatbots. For each chatbot it is possible to download a .json file specified by a date interval which stores the chat conversation.
Right now I have to go in manually and download each .json conversation one by one.
I would like to know if it technically possible using a Python script to download these .json conversations in one go for example 10 at a time.
Any ideas, because I am completely blank - and I imagine it is made harder by that you need to log into the account. The site has an API though, but I don’t know how to use it.
HTTP indeed supports returning multiple files in a single response using the MIME multipart format. However, it’s important to note that this feature must be supported by the specific website. To put it simply, you cannot technically force a website to deliver multiple files within a single HTTP response.
You can request this as a feature from the website provider.