Apify and Crawlee Official Forum

Updated 5 months ago

How to generate token with read-only permission to share task result in dataset?

At a glance
I refered to https://blog.apify.com/how-to-turn-any-website-into-an-rss-feed-a8f9f216e1b0/ and wrote my own rss task, but the only way to get the execution result of task in Storage.dataset is accessing:

Plain Text
https://api.apify.com/v2/actor-tasks/changchiyou~wildrift-news-zh-tw/runs/last/dataset/items?token=[apify_api_MYAPI]&format=rss&clean=true


Which means I NEED to expose my apify API if I want to share this rss result, it's strange.

Have I missed some docs to generate token with read-only permission (or other way to share task result properly)?
F
H
2 comments
How to generate token with read-only permission to share task result in dataset?
You can put the RSS feed to the named key value store. Then overwrite that value on each run. I have done RSS feeds like that. The url of the feed then stays the same and your token is not exposed.
Add a reply
Sign up and join the conversation on Discord