OpenTermsArchive / engine

Tracks contractual documents and exposes changes to the terms of online services.
https://opentermsarchive.org
European Union Public License 1.2
111 stars 30 forks source link

Download-only file fails with `net::ERR_ABORTED` #937

Closed martinratinaud closed 1 year ago

martinratinaud commented 2 years ago

Sometimes, a PDF file is added and receives a 403 when fetching HTML.

{
  "name": "Octopia",
  "documents": {
    "Commercial Terms": {
      "fetch": "https://seller.octopia.com/DocumentCgmad/20220101/1ab59132-f68f-4cd8-ae3f-1c2d62c21710?ext=.pdf"
    }
  }
}

Next step is usually to try to executeClientScripts and when we do, we get a net::ERR_ABORTED error

{
  "name": "Octopia",
  "documents": {
    "Commercial Terms": {
      "fetch": "https://seller.octopia.com/DocumentCgmad/20220101/1ab59132-f68f-4cd8-ae3f-1c2d62c21710?ext=.pdf",
      "executeClientScripts": true
    }
  }
}
MattiSG commented 1 year ago

Cannot reproduce, the provided example works with "select": "body". Perhaps related to #915 and #900.