{"id":16687972,"url":"https://github.com/danielpclark/yt_util","last_synced_at":"2025-09-15T08:24:28.751Z","repository":{"id":24957584,"uuid":"28375481","full_name":"danielpclark/yt_util","owner":"danielpclark","description":"A toolbox for working with Youtube.  Youtube Utility including scraping and generating information.  100% Coverage.  Full test specs passing with Travis CI.","archived":false,"fork":false,"pushed_at":"2014-12-24T10:13:53.000Z","size":268,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-23T00:48:02.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielpclark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-23T03:42:21.000Z","updated_at":"2015-01-01T22:07:06.000Z","dependencies_parsed_at":"2022-08-21T01:50:29.497Z","dependency_job_id":null,"html_url":"https://github.com/danielpclark/yt_util","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fyt_util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fyt_util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fyt_util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielpclark%2Fyt_util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielpclark","download_url":"https://codeload.github.com/danielpclark/yt_util/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243447642,"owners_count":20292455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T15:26:14.844Z","updated_at":"2025-03-13T17:27:14.622Z","avatar_url":"https://github.com/danielpclark.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youtube Utility\n[![Gem Version](https://badge.fury.io/rb/yt_util.svg)](http://badge.fury.io/rb/yt_util)\n[![Build Status](https://travis-ci.org/danielpclark/yt_util.svg)](https://travis-ci.org/danielpclark/yt_util)\n[![Coverage Status](https://img.shields.io/coveralls/danielpclark/yt_util.svg)](https://coveralls.io/r/danielpclark/yt_util?branch=master)\n\nGeneral purpose toolbox for working with Youtube.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'yt_util'\n```\n\n## Usage\n\nUsage notes will come in time.  Feel free to look at the source code as it's rather short.\n\nMethods available:\n```ruby\nYtUtil::Scrape.raw_query(search, filters = \"\")\nYtUtil::Scrape.query(search = nil, filters = \"\", \u0026qry)\nYtUtil::Scrape.raw_video_stats(video_code)\nYtUtil::Scrape.video_stats(video_code = nil, \u0026qry)\nYtUtil::Scrape.raw_user_stats(username)\nYtUtil::Scrape.user_stats(username = nil, \u0026qry)\nYtUtil::URL.generate(video_code, options = {})\nYtUtil::URL.request(web_request)\nYtUtil::GooglePlus.get_username(youtube_username)\nYtUtil::Channel::URL.play_all(username)\n```\n\n## NOTE\n\u003e Any scraping results may become unavailable at anytime if Youtube chooses to change their page layout.\nThis library is designed to return nil for any data it fails to scrape.\n\n## Contribute\n\nThis project will become more and more complete over time.  Eventually the mapping of scraped data\nwill be implemented intelligently instead of statically.  This way when Youtube changes their site\nthe code will compensate for the change.  Feel free to contribute with this in mind.\n\n## LICENSE\n\nCopyright (c) 2014 Daniel P. Clark\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fyt_util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielpclark%2Fyt_util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielpclark%2Fyt_util/lists"}