dernorberto / confluencedumpwithpython Goto Github PK
View Code? Open in Web Editor NEWDownload Confluence pages including attachments and emoticons using Atlassian API and Python
License: MIT License
Download Confluence pages including attachments and emoticons using Atlassian API and Python
License: MIT License
! Package pdftex.def Error: File `/private/var/folders/jm/76v60lk51sb3_cvn2kpzb
sch0000gr/T/tex2pdf.-f81a8d7c883e45e2/attachments/2021-07-28 14_18_57-Statuspag
e - New realtime incident and 10 more pages - Work - Microsofthspace {0pt} Edge
.png' not found: using draft setting.
See the pdftex.def package documentation for explanation.
Type H <return> for immediate help.
...
l.849 ... - Work - Microsoft\hspace{0pt} Edge.png}
2021-07-28 14_18_57-Statuspage - New realtime incident and 10 more pages - Work - Microsoft Edge
<head>
--
| <title>Time Synchronisation Policy</title>
| <link rel="stylesheet" href="styles/site.css" type="text/css" />
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
| </head>
| <h2>Time Synchronisation Policy</h2>
| <p>Original URL: <a href="https://optile.atlassian.net/wiki/spaces/SECOPS/pages/87490599/Time+Synchronisation+Policy"> Time Synchronisation Policy</a><hr>
| <p>
<head>
<title>Time Synchronisation Policy</title>
<link rel="stylesheet" href="[styles/site.css](https://github.com/dernorberto/confluenceDumpWithPython/issues/styles/site.css)" type="text/css" />
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<h2>Time Synchronisation Policy</h2>
<p>Original URL: <a href="https://optile.atlassian.net/wiki/spaces/SECOPS/pages/87490599/Time+Synchronisation+Policy"> Time Synchronisation Policy</a><hr>
<p>```
:doc_owner: Norberto Soares
:doc_title: Critical Technology Usage Policy
:doc_author: Norberto Soares
:doc_labels: child, security-policy, status-active
:last_changed: 12.04.2023
:doc_status: IN EFFECT
:doc_version: 1.8
:doc_lang: English
:conf_pagetype: reportChild
:conf_pageid: 100892722
:conf_parent: 78872710
example pageID: 716701697
HTML:
<a href="https://optile.atlassian.net/wiki/download/attachments/716701697/File.docx?version=1&modificationDate=1540461757616&cacheVersion=1&api=v2" rel="nofollow">
translates to RST:
-
File.docx https://optile.atlassian.net/wiki/download/attachments/716701697/File.docx?version=1&modificationDate=1540461757616&cacheVersion=1&api=v2__ (attached)
cause:
<a href=...>
without a classOnce a Space or a set of .rst files have been downloaded, a script should go through them:
https://optile.atlassian.net/wiki/spaces/SECOPS/pages/$pagenum
($pagenum being the page ID of the page), replace it with the local linkAmong the improvements, I see this one: "Create an index of the pages to use as a TOC."
I have been able to adapt the script to generate an index which includes some info about the author, date and space key, as it is generated from a space export in Confluence. However, I don't have a clue about the structure itself, what is retained to make sure the structure from an index.html could be reproduced?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.