dfreelon / news_extract

Python module to extract articles from NexisUni and Factiva.
BSD 3-Clause "New" or "Revised" License
36 stars 9 forks source link

error in ne.nexis_rtf_extract #2

Open asuerdem1 opened 4 years ago

asuerdem1 commented 4 years ago

I get this error: ----> 2 nu_data = ne.nexis_rtf_extract(nu_file)

~\Anaconda3\envs\viper\lib\site-packages\news_extract\news_extract.py in nexis_rtf_extract(nex_rtf) 123 body_end = [n for n,i 124 in enumerate(nex_split) --> 125 if i == "Classification"][0] 126 body_text = " ".join(nex_split[body_start:body_end]) 127

IndexError: list index out of range

I followed your instructions for downloading nexis uni

dfreelon commented 3 years ago

Gonna need your data file for that... lol I know it's pretty late, but if you're still interested, I'll take a look.