weblyzard / inscriptis

A python based HTML to text conversion library, command line client and Web service.
Apache License 2.0
267 stars 28 forks source link

Handling of Form 'input' elements. #86

Closed grokwich closed 5 months ago

grokwich commented 5 months ago

Hello. Is there any way to include the value of input elements as part of the html -> text conversion?

The default behavior seems to ignore input elements.

Thank you.

AlbertWeichselbraun commented 5 months ago

This can be achieved by using custom HTML tag handlers for the input tag (provided that the values you seek to include are stored in the input fields' value attribute).