Use lynx instead of w3m for backup
Includes URL references which is nice
This commit is contained in:
@@ -15,7 +15,7 @@ puts "references:"
|
||||
|
||||
urls.each do |url|
|
||||
page_content = `curl -s #{url}`
|
||||
text_content = `w3m #{url}`
|
||||
text_content = `lynx -dump --display_charset=utf-8 #{url}`
|
||||
|
||||
begin
|
||||
title = page_content
|
||||
|
||||
Reference in New Issue
Block a user