defmodule HipcallWhichtech.Detector.Eticaretkur do
@moduledoc false
@patters [
~s(Eticaret Kur E-Ticaret Sistemi İle Hazırlanmıştır),
~s()
]
@spec detect(html_source :: binary()) :: boolean()
def detect(html_source) when is_binary(html_source) do
Enum.any?(@patters, fn pattern ->
String.contains?(html_source, pattern)
end)
end
end