If there's a cleaner way, let me know, but this seemed to work on the few articles I tested.
Unfortunately, since Milton only sends the article contents, and not the URL, this won't work for the /extract endpoint as currently defined. We can either switch over to the /simplify endpoint, or add a url field to the /extract interface.
If there's a cleaner way, let me know, but this seemed to work on the few articles I tested.
Unfortunately, since Milton only sends the article contents, and not the URL, this won't work for the
/extract
endpoint as currently defined. We can either switch over to the/simplify
endpoint, or add a url field to the/extract
interface.