lib/alexandria/book_providers/proxis.rb in alexandria-book-collection-manager-0.6.9.pre1 vs lib/alexandria/book_providers/proxis.rb in alexandria-book-collection-manager-0.6.9

- old
+ new

@@ -1,7 +1,7 @@ # Copyright (C) 2009 Cathal Mc Ginley -# Copyright (C) 2014 Matijs van Zuijlen +# Copyright (C) 2014,2015 Matijs van Zuijlen # # Alexandria is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. @@ -80,12 +80,10 @@ end def url(book) if book.isbn.nil? or book.isbn.empty? ISBN_REDIRECT_BASE_URL % Library.canonicalise_ean(book.isbn) - else - nil end end ## from Palatina def text_of(node) @@ -131,11 +129,9 @@ def data_for_header(th) tr = th.parent td = tr.at('td') if td text_of(td) - else - nil end end def parse_result_data(html) doc = html_to_doc(html)