{"id":16602109,"url":"https://github.com/ppalone/ytsearch","last_synced_at":"2025-03-23T14:31:11.724Z","repository":{"id":240122731,"uuid":"798426235","full_name":"ppalone/ytsearch","owner":"ppalone","description":"🔎 A simple Golang library to get video search results from YouTube","archived":false,"fork":false,"pushed_at":"2024-11-24T14:32:39.000Z","size":24,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T01:23:18.776Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ppalone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T18:49:40.000Z","updated_at":"2025-02-05T01:55:10.000Z","dependencies_parsed_at":"2024-05-16T21:32:43.213Z","dependency_job_id":"bd9fef83-e2e6-4477-852d-a216b10874f4","html_url":"https://github.com/ppalone/ytsearch","commit_stats":null,"previous_names":["ppalone/ytsearch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppalone%2Fytsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppalone%2Fytsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppalone%2Fytsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppalone%2Fytsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppalone","download_url":"https://codeload.github.com/ppalone/ytsearch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244306109,"owners_count":20431746,"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-12T00:20:25.209Z","updated_at":"2025-03-23T14:31:11.384Z","avatar_url":"https://github.com/ppalone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YTSearch\n\n🔎 A simple Golang libary for getting video search results from Youtube (without any kind of API key)\n\n## Installation\n\n```\ngo get -u github.com/ppalone/ytsearch\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/ppalone/ytsearch\"\n)\n\nfunc main() {\n\t// client\n\tc := ytsearch.Client{}\n\n\t// search for \"nocopyrightsounds\"\n\tres, err := c.Search(\"nocopyrightsounds\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Println(\"Search Results:\")\n\n\t// res.Results contains an array of Search results\n\tfor _, res := range res.Results {\n\t\tfmt.Println(\"Video Title:\", res.Title, \"Channel:\", res.Channel)\n\t}\n\n\tfmt.Println(\"Next Search Results:\")\n\n\t// res.Continuation contains continuation token\n\t// can be used to fetch next results\n\t// since youtube limits the number of search results\n\tres, err = c.Next(res.Continuation)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfor _, res := range res.Results {\n\t\tfmt.Println(\"Video Title:\", res.Title, \"Channel:\", res.Channel)\n\t}\n}\n```\n\n## Author\n\nPranjal\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppalone%2Fytsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppalone%2Fytsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppalone%2Fytsearch/lists"}