title: Extract hyperlinks from PDF in Python
body: <p>I have a PDF document with a few hyperlinks in it, and I need to extract all the text from the pdf.
  I have used the PDFMiner library and code from  <a href="http://www.endlesslycurious.com/2012/06/13/scraping-pdf-with-python/" rel="noreferrer">http://www.endlesslycurious.com/2012/06/13/scraping-pdf-with-python/</a> to extract text. However, it does not extract the hyperlinks.</p>
  
  <p>For example, I have text that says <a href="http://www.google.com" rel="noreferrer">Check this link out</a>, with a link attached to it. I am able to extract the words <code>Check this link out</code>, but what I really need is the hyperlink itself, not the words.</p>
  
  <p>How do I go about doing this? Ideally, I would prefer to do it in Python, but I'm open to doing it in any other language as well.</p>
  
  <p>I have looked at <code>itextsharp</code>, but haven't used it. I'm running on <code>Ubuntu</code>, and would appreciate any help.</p>