The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

scrape an Atlassian confluence web page

Haroon Habibi
October 10, 2022

is there a way to scrape an Atlassian confluence web page via Invoke-WebRequest and the assorted getElementsByTagName/ID/Name Powershell commands for various data on there?Or, do you absolutely need to have an Atlassian token as a prerequisite?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

4 votes
Andrii Maliuta
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 10, 2022

Hello @Haroon Habibi ,

From the technical point of view, it is just a web page , so you can use HTTP requests/tools to get necessary data. Confluence, as other Atlassian tools, has its REST API (https://docs.atlassian.com/ConfluenceServer/rest/7.20.0/) that also makes it easy to retrieve data and manipualte it.

If you mean using .NET/Powershell tools, so you can try this tool:

https://atlassianps.org/

It allows to perform some basic actions on Confluence.

>> do you absolutely need to have an Atlassian token as a prerequisite?

If Confluence is not accessible without login so you need to auth either Basic auth or OAuth tokens, etc.

TAGS
AUG Leaders

Atlassian Community Events