juriscraper icon indicating copy to clipboard operation
juriscraper copied to clipboard

ACMSDocketReport returns "Since your browser does not support JavaScript, you must press the Continue button once to proceed."

Open andrewbaker00 opened this issue 2 years ago • 1 comments

I seem not to be able to get this to work, looks like the new ACMS only works with a WebDriver. From what I can tell there is no webdriver code for the ACMS appellate docket. I get a "Since your browser does not support JavaScript, you must press the Continue button once to proceed.".

What am I missing?

I try running:

court_id = 'ca9'
docket_number = '23-2737'
print(f'Querying: {docket_number}')  # Press ⌘F8 to toggle the breakpoint.
# Create a site object
session = PacerSession(username="<User>", password="<password>")
session.login()
report = AppellateDocketReport(court_id, session)
report.query(docket_number)

and get the following output:

      <form action="https&#x3a;&#x2f;&#x2f;ca9-showdoc.azurewebsites.us&#x2f;Saml2&#x2f;Acs" method="post">
          <div>
              <input type="hidden" name="RelayState" value="y6X8Y1ySeMXos-KKBwfCI_7z"/>                
                              
              <input type="hidden" name="SAMLResponse" value="<some very long value>"/>                
          </div>
          <noscript>
              <div>
                  <input type="submit" value="Continue"/>
              </div>
          </noscript>
      </form>
          </body>

If I manually post the form, i get:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="/favicon.ico">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">  
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">  
    <title>ACMS ShowDoc</title>
    <link rel="stylesheet" href="https://unpkg.com/@mdi/[email protected]/css/materialdesignicons.min.css">
    <link rel="stylesheet" href="/css/app.css?v=uIJ496PHNQHQ45bXYb8MEOh26wvkkOnwFL0kKJwFcUE" />
    <script>
      var model = '{&quot;PacerUser&quot;:{&quot;IsAuthenticated&quot;:true,&quot;CsoId&quot;:&quot;6877482&quot;,&quot;LoginId&quot;:&quot;andrewbaker00&quot;,&quot;ContactType&quot;:&quot;PACER Only&quot;,&quot;LastName&quot;:&quot;Baker&quot;,&quot;UserIpAddress&quot;:&quot;104.255.173.144&quot;,&quot;FirstName&quot;:&quot;Andrew&quot;,&quot;MiddleName&quot;:&quot;&quot;,&quot;Telephone&quot;:&quot;&quot;,&quot;EmailAddress&quot;:&quot;&quot;,&quot;ExemptBannerDisplayText&quot;:&quot;&quot;,&quot;ExemptFlag&quot;:&quot;n&quot;,&quot;ExemptReason&quot;:&quot;&quot;,&quot;PacerClientCode&quot;:&quot;&quot;},&quot;AuthToken&quot;:{&quot;Token&quot;:&quot;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaGliYm9sZXRoQ2xhaW1zIjp7IkNTT0lkIjoiNjg3NzQ4MiIsIkxvZ2luSWQiOiJhYmFrZXJhdHR5cGVsYXciLCJleGVtcHRGbGFnIjpmYWxzZSwiZXhlbXB0UmVhc29uIjpudWxsLCJQYWNlckNsaWVudENvZGUiOm51bGwsImZpcm1JZCI6bnVsbCwiVXNlcklQQWRkcmVzcyI6IjEwNC4yNTUuMTczLjE0NCIsInJvbGUiOiJzaG93ZG9jX2FjY2Vzc19hc191c2VyIn0sInJvbGUiOiJzaG93ZG9jX2FjY2Vzc19hc191c2VyIiwibmJmIjoxNzAyNTcwNDE5LCJleHAiOjE3MDUxNjI0MTksImlhdCI6MTcwMjU3MDQxOSwiaXNzIjoiU2hvd0RvYy1TZXJ2aWNlcyIsImF1ZCI6IlNob3dEb2MtU2VydmljZXMifQ.HlZvZmkuWpfIzFKFOh73yS3uOKlsS2VQCeTUJOOx6Eo&quot;,&quot;ValidTo&quot;:&quot;2024-01-13T16:13:39&quot;},&quot;AppSettings&quot;:{&quot;ApiUrl&quot;:&quot;https://ca9-showdocservices.azurewebsites.us/api&quot;,&quot;BytesPerPage&quot;:&quot;4320&quot;,&quot;CostPerPage&quot;:&quot;0.1&quot;,&quot;DocketReportCourtSubheading&quot;:&quot;United States Court of Appeals for the Ninth Circuit&quot;,&quot;DocketReportDescription&quot;:&quot;ACMS Docket Report&quot;,&quot;DocketSummaryDescription&quot;:&quot;ACMS Case Summary&quot;,&quot;DocumentDescription&quot;:&quot;PDF Document&quot;,&quot;MaxPagesToBill&quot;:&quot;30&quot;,&quot;PACERBillingSource&quot;:&quot;ecf&quot;,&quot;PagesInCaseSummary&quot;:&quot;1&quot;,&quot;TransactionReceiptHeading&quot;:&quot;U.S. Court of Appeals for the 9th Circuit&quot;,&quot;SiteLinks&quot;:{&quot;Home&quot;:&quot;https://ecf.ca9.uscourts.gov/n/AttorneyFiling&quot;,&quot;Header&quot;:[{&quot;text&quot;:&quot;Case Search&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=CaseSearch.jsp&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Calendar&quot;,&quot;url&quot;:&quot;http://www.ca9.uscourts.gov/calendar/&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Opinions&quot;,&quot;url&quot;:&quot;http://www.ca9.uscourts.gov/opinions/&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Orders/Judgments&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=OrderJudgment.jsp&quot;,&quot;target&quot;:&quot;_self&quot;}],&quot;System&quot;:[{&quot;text&quot;:&quot;Logout&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=InvalidUserLogin.jsp&amp;logout=y&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Help&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=PacerHelp.jsp#CaseSelectionTable&quot;,&quot;target&quot;:&quot;_self&quot;}],&quot;Footer&quot;:[{&quot;text&quot;:&quot;Court Information&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=CourtInfo.jsp&amp;amp;menu=yes&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Court Home&quot;,&quot;url&quot;:&quot;http://www.ca9.uscourts.gov/&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;PACER Service Center&quot;,&quot;url&quot;:&quot;http://www.pacer.gov&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Change Client&quot;,&quot;url&quot;:&quot;https://ecf.ca9.uscourts.gov/n/beam/servlet/TransportRoom?servlet=ChangeClient.jsp&quot;,&quot;target&quot;:&quot;_self&quot;},{&quot;text&quot;:&quot;Billing History&quot;,&quot;url&quot;:&quot;https://pacer.login.uscourts.gov/csobill-hist/billingmenu.jsf&quot;,&quot;target&quot;:&quot;_blank&quot;},{&quot;text&quot;:&quot;Contact Us&quot;,&quot;url&quot;:&quot;mailto:[email protected]?Subject=Appellate_PACER_comment&quot;,&quot;target&quot;:&quot;_self&quot;}]}}}';
      model = model.replace(/\&quot;/g, '"')
      window._model = JSON.parse(model);
    </script>    
  </head>
  <body>
    <noscript>
      <strong>
        We're sorry but ASP.NET Core MVC and Vue doesn't work properly without 
        JavaScript enabled. Please enable it to continue.
      </strong>
    </noscript>
    <div id="app"></div>
    <script src="/js/app.js?v=SrI4Xsg_ZIyhXqqZ7nFliC-8Ca2eoYUMOAHI7FbXY4I"></script>
  </body>
</html>

andrewbaker00 avatar Dec 14 '23 17:12 andrewbaker00

Thanks for filing this here. ACMS is super new for us and some of it isn't even in prod on our end. We'll want to get this fixed, but we have a bunch of competing priorities. Any chance you can take a stab at it?

mlissner avatar Dec 14 '23 19:12 mlissner