<commit_before>cask "deluge" do
  version "1.3.15.1"
  sha256 "a78a477f0a492c96cfa3e68a6551c36c6b451fc91b19df433027ef189f757baa"

  url "https://ftp.osuosl.org/pub/deluge/mac_osx/deluge-#{version}-macosx-x64.dmg",
      verified: "ftp.osuosl.org/"
  appcast "https://ftp.osuosl.org/pub/deluge/mac_osx/?C=M;O=D"
  name "Deluge"
  desc "BitTorrent client"
  homepage "https://deluge-torrent.org/"

  app "Deluge.app"
end<commit_msg>deluge: add livecheck (#105347)<commit_after>cask "deluge" do
  version "1.3.15.1"
  sha256 "a78a477f0a492c96cfa3e68a6551c36c6b451fc91b19df433027ef189f757baa"

  url "https://ftp.osuosl.org/pub/deluge/mac_osx/deluge-#{version}-macosx-x64.dmg",
      verified: "ftp.osuosl.org/"
  name "Deluge"
  desc "BitTorrent client"
  homepage "https://deluge-torrent.org/"

  livecheck do
    url "https://ftp.osuosl.org/pub/deluge/mac_osx/?C=M;O=D"
    regex(/href=["']?deluge[._-]v?(\d+(?:\.\d+)*)[._-][a-z0-9._-]*\.dmg/i)
  end

  app "Deluge.app"
end
{'fraction_non_alphanumeric': 0.18396711202466598, 'fraction_numerical': 0.11099691675231244, 'mean_word_length': 4.099476439790576, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6386973', 'n_tokens_mistral': 536, 'n_tokens_neox': 468, 'n_words': 52}