# Downloading Array of PDF Files Extracting MetaData

**URL:** <https://www.ruby-forum.com/t/downloading-array-of-pdf-files-extracting-metadata/57732>\
**Category:** Ruby\
**Created:** [April 13, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/downloading-array-of-pdf-files-extracting-metadata/57732 "2006-04-13T15:37:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandiebolt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/a87d85/32.png) [@dandiebolt](https://www.ruby-forum.com/u/dandiebolt)\
**Post date:** [April 13, 2006, 3:37pm UTC](https://www.ruby-forum.com/t/downloading-array-of-pdf-files-extracting-metadata/57732/1 "2006-04-13T15:37:38Z")

</div>

Let me simplify the description of a task I have to perform.

I have an array of urls that all point to pdf files. I need to iterate  
through the array and download each pdf file and extract some simple  
metadata such as title, author, date, etc that is know to be in each pdf  
file in either a known place or locatable with a known pattern (regular  
expression). The output of this would be a directory full of the pdf  
files and an html index file that lists the metadata along with a  
hyperlink to the pdf file.

Do any ruby modules exist to help with this task of downloading pdf  
files and extracting text from them? Can the open-uri module do this?

Thanks in advance
