Apify Discord Mirror

Updated 5 months ago

Is it possible to have dataset with constant url?

At a glance

The community member is trying to fill a dataset with new items each run, but they don't want to add the previous items. They are currently dropping the dataset and creating a new one with the same name, but the issue is that the URL is based on the dataset ID, which changes. A community member suggests constructing the URL with the username and dataset name instead of the ID, and using a token.

I want actor to fill the dataset each run. But I do not want it to add items I just want the items from that run only. So before insert I drop the dataset and then make the new named dataset with the same name and insert the items. Problem is that url is based on id of the dataset and that is different. So is there some way to have constant url?
L
H
2 comments
You can construct URL with username~datasetName instead of ID and you have to use token
thanks, this is really helpful
Add a reply
Sign up and join the conversation on Discord