drj11/pdftables — pull request #1 by medphisiker (2013-12-02 04:58:43+00:00)
Title: compatibility with new version of pdfminer-20131113

hello, I download pdftables 0.3 and have problems like topic on this page
https://github.com/jcushman/pdfquery/commit/1afd5ada3a71cb5a1d62e9e90aec36d2add9aaf0

new version of pdfminer (pdfminer-20131113) PDFDocument have new location
it's location now in
from pdfminer.pdfdocument import PDFDocument

In pdftables.py

insead of string:
from pdfminer.pdfparser import PDFParser, PDFDocument

you could write :

from pdfminer.pdfparser import PDFParser

try:
from pdfminer.pdfparser import PDFDocument
except ImportError:
from pdfminer.pdfdocument import PDFDocument