better log message
extract links only on html documents.