Closed opoudjis closed 6 years ago
1) Isobib::IsoBibliography fetch hits of page Failure/Error: while resp.body !~ /<strong/ && n < 10 ArgumentError: invalid byte sequence in US-ASCII # ./lib/isobib/scrapper.rb:183:in `=~' # ./lib/isobib/scrapper.rb:183:in `!~' # ./lib/isobib/scrapper.rb:183:in `get_page' # ./lib/isobib/scrapper.rb:57:in `parse_page' # ./lib/isobib/hit.rb:22:in `fetch' # ./lib/isobib/workers_pool.rb:18:in `block (2 levels) in worker'
— which is why I'd introduced
resp = Net::HTTP.get_response(uri).encode("UTF-8")
Closing: duplicates #26
— which is why I'd introduced