Skip to content

Commit

Permalink
Merge pull request #169286 from Homebrew/bump-4k-youtube-to-mp3-5.2.0
Browse files Browse the repository at this point in the history
4k-youtube-to-mp3 5.2.0
  • Loading branch information
BrewTestBot authored Mar 18, 2024
2 parents bee57e8 + b363c31 commit 4ede8a0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Casks/4/4k-youtube-to-mp3.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
cask "4k-youtube-to-mp3" do
arch arm: "arm64", intel: "x64"

# NOTE: "3" is not a version number, but an intrinsic part of the product name
version "5.1.1"
sha256 "3b4dd8668b6ae04db206c184f60403cea055931d1464d289dc8a4b99bf04208f"
version "5.2.0"
sha256 arm: "34452eb2d36ead216b967e092fd9255bb96deca734f613a9835732530e585514",
intel: "7db96685ac9b112afe202b0cb0edccfd6083cb8d6d1340eacd057926fff4b321"

url "https://dl.4kdownload.com/app/4kyoutubetomp3_#{version}.dmg"
url "https://dl.4kdownload.com/app/4kyoutubetomp3_#{version}_#{arch}.dmg"
name "4K YouTube to MP3"
desc "Turn YouTube links into MP3 files"
homepage "https://www.4kdownload.com/products/youtubetomp3/1"

livecheck do
url "https://www.4kdownload.com/download"
regex(%r{href=.*?/4kyoutubetomp3[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
regex(%r{href=.*?/4kyoutubetomp3[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg}i)
end

depends_on macos: ">= :high_sierra"
Expand Down

0 comments on commit 4ede8a0

Please sign in to comment.