jmcarp / robobrowser

BSD 3-Clause "New" or "Revised" License
3.7k stars 337 forks source link

Possible to upload multiple files? #99

Open manzikki opened 4 years ago

manzikki commented 4 years ago

.. to simulate an upload dialog where a user selects multiple files.

upform = forms[0] upform['files'].value = [open("a.gz",'rb'), open("b.gz",'rb')]

This gives me: ValueError('Value must be a file object or file path')

andersonneo67 commented 4 years ago

Would like to know if the form file field supports multiple file upload, and it would be better to provide which site name if possible to which you are uploading. Thank you