Make linkbot title parsing more robust
Linkbot titles now check the "meta" tags for either "og:title" or "title" attributes. This is usually a more accurate/correct title than using the "title" tag, but this is checked as a last resort. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
5
mix.exs
5
mix.exs
@@ -31,8 +31,9 @@ defmodule Omnibot.MixProject do
|
||||
defp deps do
|
||||
# TODO : figure out how to make contrib modules optional (umbrella project?) and enable specific requirements
|
||||
[
|
||||
{:tesla, "~> 1.3.0"}, # Used by Omnibot.Contrib.Linkbot
|
||||
{:sqlitex, "~> 1.7"}, # Used by Omnibot.Contrib.Wordbot
|
||||
{:tesla, "~> 1.3.0"}, # Used by Omnibot.Contrib.Linkbot
|
||||
{:meeseeks, "~> 0.15.1"}, # Used by Omnibot.Contrib.Linkbot
|
||||
{:sqlitex, "~> 1.7"}, # Used by Omnibot.Contrib.Wordbot
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user