Sha256: f5115696b999f2e59c3e3f9cd1741c4257fcba3dfe9b31eea6c51b81c6a3aa7f
Contents?: true
Size: 409 Bytes
Versions: 13
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true module Miteru class Feeds class PhishingDatabase < Base def initialize(base_url = "https://raw.githubusercontent.com") super(base_url) end def urls text.lines.map(&:chomp) end private def text get("/mitchellkrogza/Phishing.Database/master/phishing-links-ACTIVE-NOW.txt").body.to_s end end end end
Version data entries
13 entries across 13 versions & 1 rubygems