{"id":18018942,"url":"https://github.com/kaiiiz/spotify2kkbox","last_synced_at":"2025-03-26T20:31:07.645Z","repository":{"id":50196908,"uuid":"168797715","full_name":"kaiiiz/Spotify2KKBOX","owner":"kaiiiz","description":"A song shift tool from spotify to kkbox. (using kbl)","archived":false,"fork":false,"pushed_at":"2022-12-08T01:39:03.000Z","size":68,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-05T01:38:06.120Z","etag":null,"topics":["flask","kbl","kkbox","python","spotify"],"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/kaiiiz.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":"2019-02-02T05:24:07.000Z","updated_at":"2021-01-31T17:56:06.000Z","dependencies_parsed_at":"2023-01-24T21:00:49.616Z","dependency_job_id":null,"html_url":"https://github.com/kaiiiz/Spotify2KKBOX","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiiiz%2FSpotify2KKBOX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiiiz%2FSpotify2KKBOX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiiiz%2FSpotify2KKBOX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaiiiz%2FSpotify2KKBOX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaiiiz","download_url":"https://codeload.github.com/kaiiiz/Spotify2KKBOX/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222167316,"owners_count":16942214,"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":["flask","kbl","kkbox","python","spotify"],"created_at":"2024-10-30T05:07:42.480Z","updated_at":"2024-10-30T05:07:43.337Z","avatar_url":"https://github.com/kaiiiz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spotify2KKBOX\n\nA song shift tool from spotify to kkbox (using kbl)\n\n⚠️ Disclaimer: This tool is produced by the reverse engineering, and is my own works, KKBOX and Spotify aren't related to this tool. Be careful, there is no endorsement of this tool. Use at your own risk. \n\n## Background\n\nSince KKBOX doesn't provide any API to modify playlist. The only way I found to convert playlist is using the import/export playlist features in KKBOX windows app.\n\nSo I wrote the python script in order to create kbl file last year, pack it with flask recently.\n\nSee [How to use](https://github.com/kaiiiz/Spotify2KKBOX/wiki/How-to-use%3F)\n\n## How it works?\n\n1. Get spotify playlist with its API\n2. Search keyword in KKBOX API\n3. Use crawler to search kbl's track id in track url (kbl's track id isn't same as API's track id)\n4. Package up all informations and generate kbl file\n\n## How to use?\n\n### Installation\n\n```\ngit clone https://github.com/kaiiiz/Spotify2KKBOX.git\ncd Spotify2KKBOX\npipenv install\npipenv shell\n```\n\n### Configuration\n\nGo to [KKBOX for developer](https://developer.kkbox.com/#/app), create app and set `redirect_url` to `http://localhost:5000/login/kkbox/authorized`\n\nGo to [Spotify for developer](https://developer.spotify.com/dashboard/), create app and set `redirect_url` to `http://localhost:5000/login/spotify/authorized`\n\nThe final thing to do, copy your `client_id` and `client_secret` to `config.py`\n\n### Run server\n\nBack to command line, run\n\n```\nflask run\n```\n\nOpen `localhost:5000` and follow the [tutorial](https://github.com/kaiiiz/Spotify2KKBOX/wiki/How-to-use%3F)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiiiz%2Fspotify2kkbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaiiiz%2Fspotify2kkbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaiiiz%2Fspotify2kkbox/lists"}