{"id":22136569,"url":"https://github.com/lttkgp/youtube_title_parse","last_synced_at":"2025-10-03T19:27:04.816Z","repository":{"id":28758236,"uuid":"119253068","full_name":"lttkgp/youtube_title_parse","owner":"lttkgp","description":"Parse song \u0026 artist names from YouTube video titles","archived":false,"fork":false,"pushed_at":"2022-04-09T20:04:52.000Z","size":74,"stargazers_count":25,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T18:02:33.757Z","etag":null,"topics":["cli","hacktoberfest","youtube","youtube-title-parse"],"latest_commit_sha":null,"homepage":"","language":"Python","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/lttkgp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-28T11:41:35.000Z","updated_at":"2025-05-12T22:07:28.000Z","dependencies_parsed_at":"2022-07-20T08:17:26.212Z","dependency_job_id":null,"html_url":"https://github.com/lttkgp/youtube_title_parse","commit_stats":null,"previous_names":["lttkgp/youtube-title-parse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lttkgp/youtube_title_parse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttkgp%2Fyoutube_title_parse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttkgp%2Fyoutube_title_parse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttkgp%2Fyoutube_title_parse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttkgp%2Fyoutube_title_parse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lttkgp","download_url":"https://codeload.github.com/lttkgp/youtube_title_parse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lttkgp%2Fyoutube_title_parse/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265155790,"owners_count":23719589,"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":["cli","hacktoberfest","youtube","youtube-title-parse"],"created_at":"2024-12-01T19:23:36.719Z","updated_at":"2025-10-03T19:26:59.772Z","avatar_url":"https://github.com/lttkgp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version shields.io](https://img.shields.io/pypi/v/youtube-title-parse.svg)](https://pypi.org/project/youtube-title-parse/)\n[![PyPI license](https://img.shields.io/pypi/l/youtube-title-parse.svg)](https://pypi.org/project/youtube-title-parse/)\n[![PyPI status](https://img.shields.io/pypi/status/youtube-title-parse.svg)](https://pypi.org/project/youtube-title-parse/)\n![youtube_title_parse CI](https://github.com/lttkgp/youtube_title_parse/workflows/youtube_title_parse%20CI/badge.svg)\n\n# youtube title parse\n\nParse the title of a YouTube video to try and get artist \u0026 song name.\n\n## Description\n\nVideo titles on YouTube follow no strict format, and so passing the titles directly to music APIs to fetch metadata hardly works. This module attempts to recognize common patterns (using regex) and extract artist and song name.\n\n## Installation\n\nTo install [youtube_title_parse](https://pypi.python.org/pypi/youtube-title-parse/), simply run:\n\n```bash\npip install youtube_title_parse\n```\n\n## Usage\n\n### CLI\n\n`youtube_title_parse` comes with a CLI that you can use directly:\n\n```bash\n$ youtube_title_parse \"Seoul - Stay With Us (Official Video)\"\nSeoul - Stay With Us\n```\n\n### Module\n\nYou can also import `youtube_title_parse` as a module.\nIf the module can successfully parse the input, `get_artist_title` will return a tuple of the format `[artist, title]` which you can use as below. If not found, `[None, None]` is returned.\n\n```python\nfrom youtube_title_parse import get_artist_title\n\nartist, title = get_artist_title(\"Seoul - Stay With Us (Official Video)\")\nassert artist == \"Seoul\"\nassert title == \"Stay With Us\"\n```\n\n## Credits\n\nThis module is originally a Python3 rewrite of the equivalent npm library, [`get-artist-title`](https://www.npmjs.com/package/get-artist-title), but adds some extra functionality to catch more patterns.\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/lttkgp/youtube-title-parse/issues/new).\n\n## License\n\nyoutube-title-parse is made available under the [MIT license](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttkgp%2Fyoutube_title_parse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flttkgp%2Fyoutube_title_parse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flttkgp%2Fyoutube_title_parse/lists"}