<commit_before>require "formula"

# Please only update to versions that are published on PyPi as there are too
# many releases for us to update to every single one:
# https://pypi.python.org/pypi/youtube_dl
class YoutubeDl < Formula
  homepage "http://rg3.github.io/youtube-dl/"
  url "https://yt-dl.org/downloads/2015.02.11/youtube-dl-2015.02.11.tar.gz"
  sha256 "1ad5e8ec6b59dbcb9fafcf312b8e3f2a985a3f8ef7109172caaf287118bb3c59"

  bottle do
    cellar :any
    sha1 "ecb3a1c6d607c7925a7c815409ef2a9e088f74e4" => :yosemite
    sha1 "faa48768c8a26d5019888fd6e54c58dd5467e747" => :mavericks
    sha1 "e934bac686037fe83f5f0d400ca9364d708acb9f" => :mountain_lion
  end

  head do
    url "https://github.com/rg3/youtube-dl.git"
    depends_on "pandoc" => :build
  end

  depends_on "rtmpdump" => :optional

  def install
    system "make", "PREFIX=#{prefix}"<commit_msg>youtube-dl 2015.02.16<commit_after>require "formula"

# Please only update to versions that are published on PyPi as there are too
# many releases for us to update to every single one:
# https://pypi.python.org/pypi/youtube_dl
class YoutubeDl < Formula
  homepage "http://rg3.github.io/youtube-dl/"
  url "https://yt-dl.org/downloads/2015.02.16/youtube-dl-2015.02.16.tar.gz"
  sha256 "1dab1a3184197ee2e1c3ce0a06fd6aae3af06dd6e42f6f3e2eb3acb457106350"

  bottle do
    cellar :any
    sha1 "ecb3a1c6d607c7925a7c815409ef2a9e088f74e4" => :yosemite
    sha1 "faa48768c8a26d5019888fd6e54c58dd5467e747" => :mavericks
    sha1 "e934bac686037fe83f5f0d400ca9364d708acb9f" => :mountain_lion
  end

  head do
    url "https://github.com/rg3/youtube-dl.git"
    depends_on "pandoc" => :build
  end

  depends_on "rtmpdump" => :optional

  def install
    system "make", "PREFIX=#{prefix}"
{'fraction_non_alphanumeric': 0.10722477064220183, 'fraction_numerical': 0.1588302752293578, 'mean_word_length': 4.369230769230769, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4413399', 'n_tokens_mistral': 873, 'n_tokens_neox': 737, 'n_words': 132}