IOC Parser is a tool to extract indicators of compromise from security reports in PDF format. A good collection of APT related reports with many IOCs can be found here: APTNotes.
iocp [-h] [-p INI] [-i FORMAT] [-o FORMAT] [-d] [-l LIB] FILE
pip install ioc_parser
One of the following PDF parsing libraries:
For HTML parsing support:
For HTTP(S) support: