Getting ISBN numbers from a book in PDF format
I wrote a small script that looks for its 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 made 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/f7d5c3e90The output looks like this:
$ ./get-isbn.py test.pdf
ISBN-13: ['978-1-59059-585-5']
ISBN-10: ['1-59059-585-8']
Source: https://habr.com/ru/post/55430/
All Articles