adbar / htmldate

Fast and robust date extraction from web pages, with Python or on the command-line
https://htmldate.readthedocs.io
Apache License 2.0
117 stars 26 forks source link

Add JSON output with more information to `find_date()` #123

Open adbar opened 5 months ago

adbar commented 5 months ago

So far find_date() returns a string containing the result. To add context another format is required, JSON is a good candidate.

An optional parameter like as_json=True could allow for the following additional info: