0

I have an issue in gitlab where I have uploaded xlsx files into the description of an issue in gitlab. I am trying to download these files from a juypter notebook and cannot. How do I read the list of files I have below?

import gitlab

gl = gitlab.Gitlab("xxx", "xxxx")

project_id = xxxx
issue_id = xx
project = gl.projects.get(project_id)
issue = project.issues.get(issue_id)
[item for item in issue.description.split('|') if 'xlsx' in item]

Output:

' [scope_draft.xlsx](/uploads/1347d9712437791e3dc46a7bc310b3e5/scope_draft.xlsx)     ',
 '   [scope_design.xlsx](/uploads/35779f4cdc47cf788d0398973a066bca/scope_design.xlsx)  ',
 '   [scope_design.xlsx](/uploads/e2851e090cf87cb100317c1c9e361c34/scope_design.xlsx) ',
 ' [scope_design.xlsx](/uploads/37927894b03dbd3b5a68cc266bf21037/scope_design.xlsx) ',
 ' [scope_design.xlsx](/uploads/818ce725ffa9e4a1d0e151bf8313c074/scope_design.xlsx) ']

0 Answers0