CA
rival-black

How to bulk download content from the key-value store?

Hi community! I used the TikTok scraper to get some videos and now they are stored i nmy key-value store. There I only see how to download them one by one ... but acutally I would like to download them all at once. Can anybody let me know if this is possible and how?
7 Replies
narrow-beige
narrow-beige2y ago
I guess, there is no way to get all at once. Only separately, one by one.
Pepa J
Pepa J2y ago
I know that there is this Actor https://apify.com/vaclavrut/downloadkvstorezip but not sure if it is still working.
Apify
Zip Download of KV Store · Apify
Creates a zip file from all items in the key-value store, zips them, and downloads them in a unique file. On input, you can specify the number of the files or keep it null to download them all. The key-value store must be under your Apify account.
narrow-beige
narrow-beige2y ago
@Pepa J Thanks. Yeah, I tried to use some time ago but didn't succeed. I guess it's too old and requires some updates. But @judgereini You can give it a try ofc.
inland-turquoise
inland-turquoise2y ago
It should be easy if you write a script. Access the kv store then using the .list method you can get all the keys and download them all.
rival-black
rival-blackOP2y ago
Hi guys! Thanks for the replies! I've found an actor that did everything I needed :-)))
rival-black
rival-blackOP2y ago
Apify
Zip Key-value Store · Apify
Takes the ID of the key-value store, archives all their keys into a zip file, and saves them into the key-value store of the actor. For more than 1000 keys, multiple zip files are created. If their total size is bigger than the actor's available memory, it creates multiple smaller zip files.
rival-black
rival-blackOP2y ago
I tried this, too. But this one didn't work.

Did you find this page helpful?