Getting ISBN numbers from a book in PDF format

    I wrote a small script who is looking for her ISBN number in a PDF book. The script is written in Python using a small library for working with ISBN.

    By default, the search is performed among the first 10 pages.

    The library is available at: www.staff.ncl.ac.uk/djwilkinson/software/isbn.py

    The script is available at: pastebin.com/f7d5c3e90

    The output looks like this:

    $ ./get-isbn.py test.pdf
    ISBN-13: ['978-1-59059-585-5']
    ISBN-10: ['1-59059-585-8']

    Also popular now: