{"id":31566,"date":"2026-08-17T17:37:51","date_gmt":"2026-08-17T09:37:51","guid":{"rendered":"http:\/\/139.9.1.231\/?p=31566"},"modified":"2026-08-17T17:37:55","modified_gmt":"2026-08-17T09:37:55","slug":"audiospider","status":"publish","type":"post","link":"http:\/\/139.9.1.231\/index.php\/2026\/08\/17\/audiospider\/","title":{"rendered":"AudioSpider\uff1a\u4e3a\u8bed\u97f3\u5927\u6a21\u578b\u8bad\u7ec3\u51c6\u5907\u6570\u636e\u7684\u5f00\u6e90\u722c\u866b\u6846\u67b6"},"content":{"rendered":"\n<p>\u8bad\u7ec3\u8bed\u97f3 \/ TTS \u6a21\u578b\uff0c\u6700\u5927\u7684\u74f6\u9888\u5f80\u5f80\u4e0d\u662f\u6a21\u578b\uff0c\u800c\u662f\u6570\u636e\u2014\u2014<strong>\u51e0\u767e\u4e07\u6761\u3001\u4e0a\u767e\u4e07\u5c0f\u65f6\u5e72\u51c0\u89c4\u6574\u7684\u8bed\u97f3\u4ece\u54ea\u6765\uff1f<\/strong><\/p>\n\n\n\n<p><strong>AudioSpider<\/strong>&nbsp;\u5c31\u662f\u4e3a\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u800c\u751f\u7684\u5f00\u6e90\u6846\u67b6\uff1a\u81ea\u52a8\u4ece\u64ad\u5ba2\u3001\u6709\u58f0\u4e66\u3001B\u7ad9\u7b49\u6765\u6e90\u53d1\u73b0\u8bed\u97f3 URL\uff0c\u53bb\u91cd\u540e\u5e76\u53d1\u4e0b\u8f7d\uff0c\u5e76\u7edf\u4e00\u8f6c\u7801\u6210\u53ef\u76f4\u63a5\u7528\u4e8e\u8bad\u7ec3\u7684\u683c\u5f0f\u3002MIT \u534f\u8bae\uff0c\u5df2\u5f00\u6e90\u3002<\/p>\n\n\n\n<p class=\"has-light-pink-background-color has-background\"><strong>\ud83d\udd17 \u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/yinhao0214\/AudioSpider\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/yinhao0214\/AudioSpider<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" src=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2026\/08\/640-1024x683.webp\" alt=\"\" class=\"wp-image-31572\" width=\"690\" height=\"460\" srcset=\"http:\/\/139.9.1.231\/wp-content\/uploads\/2026\/08\/640-1024x683.webp 1024w, http:\/\/139.9.1.231\/wp-content\/uploads\/2026\/08\/640-300x200.webp 300w, http:\/\/139.9.1.231\/wp-content\/uploads\/2026\/08\/640-768x512.webp 768w, http:\/\/139.9.1.231\/wp-content\/uploads\/2026\/08\/640.webp 1080w\" sizes=\"(max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p>\u6574\u4e2a\u6d41\u7a0b\u5206\u4e09\u6b65\u8d70\uff1a<strong>\u53d1\u73b0\u641c\u96c6 \u2192 \u5165\u5e93\u53bb\u91cd \u2192 \u4e0b\u8f7d\u8f6c\u7801\u3002<\/strong><\/p>\n\n\n\n<ul><li><strong>\u53d1\u73b0 &amp; \u641c\u96c6\uff1a<\/strong><code>discover.py<\/code>&nbsp;\u4ece Apple Podcasts \u548c Podcast Index\uff08400 \u4e07+ \u64ad\u5ba2\uff09\u5168\u7f51\u53d1\u73b0\u65b0\u6e90\uff1b<code>collect.py<\/code>&nbsp;\u5219\u4ece\u5c0f\u5b87\u5b99\u3001\u559c\u9a6c\u62c9\u96c5\u3001B\u7ad9\u3001RSS\u3001LibriVox \u7b49\u56fa\u5b9a\u6765\u6e90\u6293\u589e\u91cf\u66f4\u65b0\u3002<\/li><li><strong>\u5165\u5e93\u53bb\u91cd\uff1a<\/strong>\u6240\u6709 URL \u5b58\u5165 SQLite\uff0c\u7ecf\u8fc7 URL\u3001source_id\u3001\u5185\u5bb9\u6307\u7eb9\u4e09\u5c42\u53bb\u91cd\u3002<\/li><li><strong>\u4e0b\u8f7d\u8f6c\u7801\uff1a<\/strong><code>main.py<\/code>&nbsp;\u5f02\u6b65\u5e76\u53d1\uff08\u9ed8\u8ba4 20 \u7ebf\u7a0b\uff09\u4ece\u5e93\u4e2d\u53d6 URL \u4e0b\u8f7d\uff0c\u5e76\u81ea\u52a8\u8f6c\u7801\u8f93\u51fa\u3002<\/li><\/ul>\n\n\n\n<p>\u53d1\u73b0\u4e0e\u4e0b\u8f7d\u89e3\u8026\uff0c\u53ef\u540c\u65f6\u8fd0\u884c\uff0c\u4e00\u8fb9\u6269\u5145 URL \u6c60\uff0c\u4e00\u8fb9\u6301\u7eed\u4e0b\u8f7d\u3002<\/p>\n\n\n\n<p><strong>\u4e09\u4e2a\u5173\u952e\u7279\u6027<\/strong>\uff1a<\/p>\n\n\n\n<p><strong>1. \u8986\u76d6\u5e7f\u3001\u91cf\u7ea7\u5927<\/strong>  \u652f\u6301 5 \u5927\u6765\u6e90\uff08\u5c0f\u5b87\u5b99 \/ RSS \/ \u559c\u9a6c\u62c9\u96c5 \/ LibriVox \/ B\u7ad9\uff09\uff0c\u5b9e\u6d4b\u6570\u636e\u5e93\u5df2\u6512\u5230\u00a0<strong>220 \u4e07+ \u6761 URL\u3001\u7ea6 138 \u4e07\u5c0f\u65f6<\/strong>\u8bed\u97f3\u5f85\u4e0b\u8f7d\uff0c\u8986\u76d6\u82f1\u3001\u4e2d\u3001\u897f\u3001\u65e5\u3001\u97e9\u7b49\u591a\u8bed\u79cd\u3002<\/p>\n\n\n\n<p><strong>2. \u76f4\u63a5\u4ea7\u51fa\u53ef\u8bad\u7ec3\u683c\u5f0f<\/strong>  \u6240\u6709\u97f3\u9891\u7edf\u4e00\u8f6c\u7801\u4e3a\u00a0<strong>Opus \u00b7 24kHz \u00b7 \u5355\u58f0\u9053 \u00b7 32kbps<\/strong>\u2014\u2014\u8fd9\u662f WenetSpeech \u7b49\u6570\u636e\u96c6\u4e0e\u4e3b\u6d41 TTS \u6a21\u578b\u7684\u6807\u51c6\u9009\u62e9\u30021 \u4e07\u5c0f\u65f6\u4ec5\u7ea6 140GB\uff0c\u6bd4 WAV \u8282\u7701\u7ea6 91% \u5b58\u50a8\u3002\u8bad\u7ec3\u65f6\u00a0<code>torchaudio.load()<\/code>\u00a0\u4e00\u884c\u52a0\u8f7d\u3002<\/p>\n\n\n\n<p><strong>3. \u5de5\u7a0b\u7ec6\u8282\u5b8c\u5584<\/strong> \u4e09\u5c42\u53bb\u91cd\u3001\u65ad\u70b9\u7eed\u4f20\uff08\u4e2d\u65ad\u91cd\u542f\u4e0d\u4e22\u8fdb\u5ea6\uff09\u3001\u5b8c\u6574\u53cd\u722c\u7b56\u7565\uff08UA \u8f6e\u6362 \/ \u9650\u901f \/ \u4ee3\u7406\uff09\u3001\u5f02\u6b65\u5e76\u53d1\u4e0b\u8f7d\u3001\u4ea4\u4e92\u5f0f\u6570\u636e\u5e93\u67e5\u770b\u5668\u3002<\/p>\n\n\n\n<h3>\u67b6\u6784\uff1a<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>AudioSpider\/\r\n\u251c\u2500\u2500 discover.py         # \u81ea\u52a8\u53d1\u73b0\u65b0\u6e90\uff08Apple Podcasts + Podcast Index\uff0c\u4e24\u6e90\u5168\u8986\u76d6\uff09\r\n\u251c\u2500\u2500 collect.py          # URL \u641c\u96c6\u5668\uff08\u4ece\u5df2\u6709\u56fa\u5b9a\u6e90\u6293\u53d6\u6700\u65b0\u97f3\u9891\u94fe\u63a5\uff09\r\n\u251c\u2500\u2500 main.py             # \u97f3\u9891\u4e0b\u8f7d\u5668\uff08\u4ece\u6570\u636e\u5e93\u53d6 URL \u5e76\u4e0b\u8f7d\uff09\r\n\u251c\u2500\u2500 config.py           # \u5168\u5c40\u914d\u7f6e\uff08\u76ee\u5f55\u3001\u8d85\u65f6\u3001\u722c\u866b\u53c2\u6570\u3001Podcast Index API Key\uff09\r\n\u251c\u2500\u2500 storage.py          # SQLite \u5b58\u50a8\uff08URL \u53bb\u91cd\u3001\u72b6\u6001\u8ffd\u8e2a\u3001\u6307\u7eb9\u53bb\u91cd\uff09\r\n\u251c\u2500\u2500 downloader.py       # \u5f02\u6b65\u4e0b\u8f7d\u5f15\u64ce\uff08\u5e76\u53d1\u3001\u65ad\u70b9\u7eed\u4f20\u3001\u5143\u4fe1\u606f\u751f\u6210\uff09\r\n\u251c\u2500\u2500 anti_crawler.py     # \u53cd\u722c\u5de5\u5177\uff08UA \u8f6e\u6362\u3001\u5ef6\u65f6\u3001\u4ee3\u7406\u3001\u9650\u901f\uff09\r\n\u251c\u2500\u2500 convert_audio.py    # \u6279\u91cf\u97f3\u9891\u683c\u5f0f\u8f6c\u6362\uff08\u2192 Opus 24kHz mono 32kbps\uff09\r\n\u251c\u2500\u2500 db_viewer.py        # \u6570\u636e\u5e93\u4ea4\u4e92\u5f0f\u67e5\u770b\u5668\r\n\u251c\u2500\u2500 spiders\/            # \u5404\u6765\u6e90\u722c\u866b\r\n\u2502   \u251c\u2500\u2500 base.py         # \u722c\u866b\u57fa\u7c7b\r\n\u2502   \u251c\u2500\u2500 xiaoyuzhou.py   # \u5c0f\u5b87\u5b99\u64ad\u5ba2\uff08CDN \u76f4\u94fe\uff09\r\n\u2502   \u251c\u2500\u2500 ximalaya.py     # \u559c\u9a6c\u62c9\u96c5\uff08\u79fb\u52a8\u7aef API\uff09\r\n\u2502   \u251c\u2500\u2500 podcast_rss.py  # \u901a\u7528\u64ad\u5ba2 RSS\r\n\u2502   \u251c\u2500\u2500 librivox.py     # LibriVox \u6709\u58f0\u4e66\r\n\u2502   \u2514\u2500\u2500 bilibili.py     # B\u7ad9\uff08DASH \u97f3\u9891\u6d41\uff09\r\n\u2514\u2500\u2500 requirements.txt    # Python \u4f9d\u8d56<\/code><\/pre>\n\n\n\n<h3>\u5de5\u4f5c\u6d41\uff1a<a href=\"https:\/\/github.com\/yinhao0214\/AudioSpider#%E5%B7%A5%E4%BD%9C%E6%B5%81\"><\/a><\/h3>\n\n\n\n<p><strong>\u4e09\u4e2a\u72ec\u7acb\u7a0b\u5e8f\uff0c\u6309\u9700\u8fd0\u884c\uff1a<\/strong><\/p>\n\n\n\n<ol><li><strong><code>discover.py<\/code><\/strong>&nbsp;\u2014 \u81ea\u52a8\u53d1\u73b0\u65b0\u6e90\u3002\u901a\u8fc7\u4e24\u4e2a\u6570\u636e\u6e90\uff08Apple Podcasts\u3001Podcast Index\uff09\u5168\u7f51\u53d1\u73b0\u64ad\u5ba2 RSS\uff1b\u9ed8\u8ba4\u53ea\u89e3\u6790<strong>\u5c1a\u672a\u722c\u8fc7<\/strong>\u7684 feed \u5e76\u5165\u5e93\u3002\u53e6\u53ef\u7528&nbsp;<code>--backfill-published<\/code>&nbsp;\u91cd\u626b<strong>\u5df2\u722c\u8fc7<\/strong>\u7684 feed\uff08\u8865&nbsp;<code>published_at<\/code>\u3001\u987a\u5e26\u635e\u65b0\u5267\u96c6\uff09\u3002\u4ec5\u91c7\u96c6\u4e2d\u82f1\u6587\u64ad\u5ba2\u3002\u76f8\u5f53\u4e8e&#8221;\u5f00\u62d3\u65b0\u9886\u5730&#8221;\u3002<\/li><li><strong><code>collect.py<\/code><\/strong>&nbsp;\u2014 \u4ece\u5df2\u6709\u56fa\u5b9a\u6e90\u6293\u53d6\u3002\u53ea\u8dd1&nbsp;<code>config.py<\/code>&nbsp;\u91cc\u914d\u7f6e\u597d\u7684\u6765\u6e90\uff08\u5c0f\u5b87\u5b99\u3001\u559c\u9a6c\u62c9\u96c5\u7b49\uff09\uff0c\u6293\u53d6\u6700\u65b0\u97f3\u9891\u3002\u76f8\u5f53\u4e8e&#8221;\u5de1\u903b\u8001\u5730\u76d8&#8221;\u3002<\/li><li><strong><code>main.py<\/code><\/strong>&nbsp;\u2014 \u6d88\u8d39\u4e0b\u8f7d\u3002\u4ece\u6570\u636e\u5e93\u53d6\u5f85\u4e0b\u8f7d URL\uff0c\u6279\u91cf\u4e0b\u8f7d\u5230\u672c\u5730\u3002<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>discover.py --loop              \u2192 \u641c\u65b0 feed \u2192 \u53ea\u89e3\u6790\u672a\u722c\u8fc7\u7684 feed \u2500\u2510\ndiscover.py --backfill-published \u2192 \u91cd\u89e3\u6790\u5df2\u722c feed\uff08\u8865\u65e5\u671f\/\u635e\u65b0\u96c6\uff09\u2500\u253c\u2192 audiospider.db \u2192 main.py \u2192 downloads\/\ncollect.py                      \u2192 \u6293 config \u91cc\u56fa\u5b9a\u6765\u6e90            \u2500\u2518<\/code><\/pre>\n\n\n\n<h3>\u6570\u636e\u6765\u6e90<a href=\"https:\/\/github.com\/yinhao0214\/AudioSpider#%E6%95%B0%E6%8D%AE%E6%9D%A5%E6%BA%90\"><\/a><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u6765\u6e90<\/th><th>\u7c7b\u578b<\/th><th>\u4e0b\u8f7d\u65b9\u5f0f<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>\u5c0f\u5b87\u5b99<\/td><td>\u64ad\u5ba2<\/td><td>CDN \u76f4\u94fe<\/td><td>\u6700\u7a33\u5b9a\uff0cM4A \u683c\u5f0f<\/td><\/tr><tr><td>\u901a\u7528 RSS<\/td><td>\u64ad\u5ba2<\/td><td>\u76f4\u94fe<\/td><td>\u6807\u51c6\u534f\u8bae\uff0c\u8986\u76d6\u9762\u5e7f<\/td><\/tr><tr><td>\u559c\u9a6c\u62c9\u96c5<\/td><td>\u6709\u58f0\u4e66\/\u64ad\u5ba2<\/td><td>\u79fb\u52a8\u7aef API<\/td><td>MP3\/AAC\/M4A \u683c\u5f0f<\/td><\/tr><tr><td>LibriVox<\/td><td>\u6709\u58f0\u4e66<\/td><td>Archive.org<\/td><td>\u82f1\u6587\u516c\u7248\u6709\u58f0\u4e66<\/td><\/tr><tr><td>B\u7ad9<\/td><td>\u6709\u58f0\u4e66\/\u76f8\u58f0\/\u8bc4\u4e66\/\u6f14\u8bb2<\/td><td>DASH \u97f3\u9891\u6d41<\/td><td>M4A \u683c\u5f0f\uff0c\u5185\u5bb9\u91cf\u5927<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u8bad\u7ec3\u8bed\u97f3 \/ TTS \u6a21\u578b\uff0c\u6700\u5927\u7684\u74f6\u9888\u5f80\u5f80\u4e0d\u662f\u6a21\u578b\uff0c\u800c\u662f\u6570\u636e\u2014\u2014\u51e0\u767e\u4e07\u6761\u3001\u4e0a\u767e\u4e07\u5c0f\u65f6\u5e72\u51c0\u89c4\u6574\u7684\u8bed\u97f3\u4ece\u54ea\u6765\uff1f A &hellip; <a href=\"http:\/\/139.9.1.231\/index.php\/2026\/08\/17\/audiospider\/\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">AudioSpider\uff1a\u4e3a\u8bed\u97f3\u5927\u6a21\u578b\u8bad\u7ec3\u51c6\u5907\u6570\u636e\u7684\u5f00\u6e90\u722c\u866b\u6846\u67b6<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,38,34],"tags":[],"_links":{"self":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/31566"}],"collection":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/comments?post=31566"}],"version-history":[{"count":11,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/31566\/revisions"}],"predecessor-version":[{"id":31578,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/posts\/31566\/revisions\/31578"}],"wp:attachment":[{"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/media?parent=31566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/categories?post=31566"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/139.9.1.231\/index.php\/wp-json\/wp\/v2\/tags?post=31566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}