倉庫指標
- Star
- (49,270 star)
- PR 合併指標
- (平均合併 4天 2小時) (30 天內合併 15 個 PR)
描述
I have an RSS feed from a Shaarli installation for a particular tag:
https://shaarli.example.com/?do=rss&searchtags=huginn
Users of Shaarli can only access the RSS feeds if they are either logged into the instance (which Huginn would not be), or if they authenticate to Shaarli with a JSON Web Token. (I've written and tested a separate piece of code which does this. A Post Agent has demonstrated that it can get a valid JWT from my code.)
Unfortunately, it does not seem possible to send the output of another agent (the Post Agent which acquired the JWT) to the RSS Agent, even though the RSS Agent can include arbitrary headers with its requests.
I've spent most of tonight trying to parse the RSS feed with a Website Agent, but unfortunately I've not been able to get the information I need from it (it's all empty events - not helpful).
Is there some way to pass the output of the Post Agent to the RSS Agent before the JWT expires (it's only valid for nine minutes)? Failing that, how difficult would it be to modify the RSS Agent to accept events from other agents?