{"id":16166341,"url":"https://github.com/alswl/getcover","last_synced_at":"2025-10-28T10:31:29.197Z","repository":{"id":20962095,"uuid":"24250816","full_name":"alswl/getCover","owner":"alswl","description":"init mp3 cover from douban.com","archived":false,"fork":false,"pushed_at":"2014-09-20T01:49:38.000Z","size":164,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T02:43:31.216Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/alswl.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}},"created_at":"2014-09-20T01:39:14.000Z","updated_at":"2022-07-01T16:31:20.000Z","dependencies_parsed_at":"2022-07-25T08:30:06.306Z","dependency_job_id":null,"html_url":"https://github.com/alswl/getCover","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/alswl%2FgetCover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2FgetCover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2FgetCover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alswl%2FgetCover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alswl","download_url":"https://codeload.github.com/alswl/getCover/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238633970,"owners_count":19504763,"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-10T02:53:56.901Z","updated_at":"2025-10-28T10:31:23.906Z","avatar_url":"https://github.com/alswl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# a script get mp3 cover from douban.com\n\n## Requirement\n\nPython2\n\n## Usage\n\n```\npython getCover.py /some/path/*.mp3 \n```\n\nIt works at MacOS / Linux.\n\n\n## Author Quote\n\n\u003e Python 脚本：自动从豆瓣获取专辑封面\n\u003e \n\u003e 明城\u003ci.feelinglucky#gmail.com\u003e\n\u003e 2010-01-20\n\u003e \n\u003e iTunes 下的显示专辑封面往往被看作是鸡肋，到不是因为它的功能不好用，\n\u003e 而是因为很多时候它都找不到中文歌曲的专辑封面。\n\u003e \n\u003e 于是乎，就利用周末的时间用 Python 写了这样的一个脚本，用于自动从\n\u003e 豆瓣找专辑封面并嵌入至 mp3 文件中。\n\u003e \n\u003e 使用方法相对简单，下载压缩包以后，命令行\n\u003e \n\u003e python getCover.py *.mp3 \n\u003e \n\u003e 即可。这里要说面下 \n\u003e \n\u003e 1、文件可写\n\u003e 2、ID3 的信息必须清楚，因为搜索 豆瓣 上的专辑插图是以此为依据的\n\u003e 3、mp3  的 ID3 标签必须是 id3v2 和 utf-8 编码\n\u003e \n\u003e Windows 下可以用 千千静听 批量转换 mp3 文件的 id3，如果在 Mac 平\n\u003e 台下，可以考虑使用 ID3Mod 这个工具。\n\u003e \n\u003e 脚本在 Mac 下测试通过，理论上说 Windows 以及其他平台都可以正常\n\u003e 使用。如果在使用过程中碰到问题，欢迎联系我。\n\nlink: http://www.gracecode.com/posts/3009.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falswl%2Fgetcover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falswl%2Fgetcover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falswl%2Fgetcover/lists"}