How to Export all Submission Attachments

How to extract PDFs and zip files associated with submissions.
  1. 1.
    If you have not done so, you will need to install and instantiate the openreview-py client.
  2. 2.
    First, get all of the submissions for your venue. If your venue is double blind, do the following:
notes = client.get_all_notes(invitation = "Your/Venue/ID/-/Blind_Submission", details = 'original')
3. If your venue is single blind, do the following:
notes = client.get_all_notes(invitation = "Your/Venue/ID/-/Submission")
4. Iterate through each submission. For each one, check if it has the attachment you are looking for, and if it does, export it. In this example, we are exporting pdfs and naming them with the format paper#.pdf.
for note in notes:
f = client.get_attachment(,'pdf')
with open(f'paper{note.number}.pdf','wb') as op:
5. If you wanted to extract a field called supplementary_material which authors uploaded as zip files, you could do the following instead:
for note in notes:
f = client.get_attachment(,'supplementary_material')
with open(f'paper{note.number}','wb') as op: