@@ -1587,7 +1587,7 @@ def _get_pacer_doc_id_and_seq_no(cell, document_number):
15871587 else :
15881588 anchors = cell .xpath (".//a" )
15891589 #
1590- _ = """
1590+ _ = """
15911591 # This code can go terribly wrong, resulting in things like:
15921592[ 'pacer_doc_id': 'Dis0layReceipt.pl' ]
15931593 # which occurred when this was invoked with document_number as 'view'.
@@ -1604,7 +1604,7 @@ def _get_pacer_doc_id_and_seq_no(cell, document_number):
16041604 # This code was designed to deal with txsb:
16051605<a href='/cgi-bin/show_doc.pl?caseid=322636&de_seq_num=2&dm_id=21705446&doc_num=1&pdf_header=0' id='documentKcaseidV322636Kde_seq_numV2Kdm_idV21705446Kdoc_numV1Kpdf_headerV0'>1</a><script>DocLink('documentKcaseidV322636Kde_seq_numV2Kdm_idV21705446Kdoc_numV1Kpdf_headerV0');</script>
16061606
1607- """ # noqa
1607+ """ # noqa
16081608 if len (anchors ) == 0 :
16091609 # Docket entry exists, but cannot download document (it's
16101610 # sealed, a minute entry, or otherwise unavailable in PACER).
@@ -1638,7 +1638,7 @@ def _get_document_number(self, cell):
16381638 "13 (5 pgs)". See flsb, 09-02199-JKO.
16391639 """
16401640
1641- _ = """
1641+ _ = """
16421642 Examples of the HTML.
16431643 A normal case, nysd:
16441644<a href="https://ecf.nysd.uscourts.gov/doc1/1270456659" onClick="goDLS('/doc1/1270456659','39589','2','','1','1','','');return(false);">1</a>
@@ -1657,7 +1657,7 @@ def _get_document_number(self, cell):
16571657
16581658<span class="iconContainer"><a href="/cgi-bin/DisplayReceipt.pl?230877,20"><span class="receiptLink">view</span></a><a href="https://ecf.mnd.uscourts.gov/doc1/101111365370" onclick="goDLS('/doc1/101111365370','230877','20','','1','1','','','');return(false);">3</a><a class="recap-inline" title="Available for free from the RECAP Archive." href="https://storage.courtlistener.com/recap/gov.uscourts.mnd.230877/gov.uscourts.mnd.230877.3.0.pdf"><img src="moz-extension://c2baafb3-8fb5-4cba-a00c-0947a021a9bf/assets/images/icon-16.png"></a></span>
16591659
1660- """ # noqa
1660+ """ # noqa
16611661
16621662 # Possible approaches to this complexity:
16631663 # 1. Look for the /doc1 href and take its contents
0 commit comments