Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4k-youtube-to-mp3 5.2.0 #169286

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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