Metadata in PDF files can be stored in at least two places:
- the Info Dictionary, a limited set of key/value pairs
- XMP packets, which contain RDF statements expressed as XML
| #!/usr/bin/env python | |
| __author__ = 'Mahmood S. Zargar' | |
| import poppler | |
| import sys | |
| import urllib | |
| import os | |
| def main(): |