C:\data\ntsb>python fetchdocket.py 96777
https://dms.ntsb.gov/pubdms/search/hitlist.cfm?docketID=96777&StartRow=1&EndRow=3000&CurrentPage=1&order=1&sort=0&TXTSEARCHT=
Traceback (most recent call last):
File "fetchdocket.py", line 45, in
accidentnumber = pq(html)('title').text().split()[2] # Grab the third word from the title tag
IndexError: list index out of range
C:\data\ntsb>python fetchdocket.py 96777
https://dms.ntsb.gov/pubdms/search/hitlist.cfm?docketID=96777&StartRow=1&EndRow=3000&CurrentPage=1&order=1&sort=0&TXTSEARCHT=
Traceback (most recent call last):
File "fetchdocket.py", line 45, in
accidentnumber = pq(html)('title').text().split()[2] # Grab the third word from the title tag
IndexError: list index out of range