Skip to content

form_fields() can't handle some documents #241

@ghost

Description

I recently encountered a site grab couldn't handle. Here is the code to reproduce that issue:

from grab import Grab

g = Grab()
g.setup_document('''
<form>
    <input id="aa" type="radio" name="xxx" value="1111" disabled="disabled" />
    <input id="bb" type="radio" name="xxx" value="2222" checked="checked" />
</form>
''')
print g.form_fields()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions