<commit_before># YoutubeId

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

    gem 'youtube_id'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install youtube_id

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Updating README.<commit_after># YoutubeId

Simple video id extraction from youtube urls.

## Installation

Add this line to your application's Gemfile:

    gem 'youtube_id'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install youtube_id

## Usage

```ruby
YoutubeID.from("http//www.youtube.com/watch?v=RCUkmUXMd_k") # => "RCUkmUXMd_k"
```

We currently support these url formats:
`http://www.youtube.com/v/RCUkmUXMd_k`
`http://www.youtube.com/v/RCUkmUXMd_k?version=3&amp;hl=en_US&amp;rel=0`
`http://www.youtube.com/embed/RCUkmUXMd_k?rel=0`
`http://www.youtube.com/watch?v=RCUkmUXMd_k`
`http://www.youtube.com/watch?v=RCUkmUXMd_k&feature=related`
`http://www.youtube.com/watch?v=RCUkmUXMd_k#t=0m10s`
`http://www.youtube.com/user/ForceD3strategy#p/a/u/0/8WVTOUh53QY`
`http://youtu.be/RCUkmUXMd_k`

See the specs for more detailed information.
{'fraction_non_alphanumeric': 0.1284796573875803, 'fraction_numerical': 0.011420413990007138, 'mean_word_length': 4.4980392156862745, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, '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': '434100', 'n_tokens_mistral': 553, 'n_tokens_neox': 520, 'n_words': 128}