How to Export all Submission Attachments
How to extract PDFs and zip files associated with submissions.
notes = client.get_all_notes(invitation = "Your/Venue/ID/-/Blind_Submission", details = 'original')notes = client.get_all_notes(invitation = "Your/Venue/ID/-/Submission")for note in notes:
if(note.content.get("pdf")):
f = client.get_attachment(note.id,'pdf')
with open(f'paper{note.number}.pdf','wb') as op:
op.write(f)for note in notes:
if(note.content.get("supplementary_material")):
f = client.get_attachment(note.id,'supplementary_material')
with open(f'paper{note.number}_supplementary_material.zip','wb') as op:
op.write(f)Last updated
Was this helpful?