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

3 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 Leaders.
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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events