feat(sites): 内置公开 BT 站 Nyaa / 蜜柑 / AniBT / AnimeGarden / 萌番组
- 新专用解析器(spiders/public.ts):RSS / Torznab / JSON API,搜索 + 最新列表 + 按资源 ID 取种子或磁力 - 手写定义(definitions/public.ts,public: true),并入内置定义表;定义视图按 public 标为 public_bt - 添加站点:公开 BT 站可从内置站一键添加(专用适配器、默认定时抓取、默认不进搜索集合),手填 RSS 保留 - 样例取自 2026-10-02 公开接口,截前两条 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9cdf492291
commit
b8876542b8
16 files changed
+770
-18
No files matched your search
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* 公开 BT 站样例:2026-10-02 从 Nyaa / 蜜柑 / AniBT / AnimeGarden 公开接口各取一次,每份截前两条(公开数据,无凭据)。
|
||||
* 萌番组当时网络不通,样例按其公开 API 字段手写。
|
||||
*/
|
||||
export const NYAA_RSS_SEARCH =
|
||||
'<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:nyaa="https://nyaa.si/xmlns/nyaa" version="2.0">\n\t<channel>\n\t\t<title>Nyaa - "frieren" - Torrent File RSS</title>\n\t\t<description>RSS Feed for "frieren"</description>\n\t\t<link>https://nyaa.si/</link>\n\t\t<atom:link href="https://nyaa.si/?page=rss" rel="self" type="application/rss+xml" />\n\t\t<item>\n\t\t\t<title>[Erai-raws] Sousou no Frieren 2nd Season [1080p CR WEBRip HEVC AAC][MultiSub] (unofficial batch)</title>\n\t\t\t\t<link>https://nyaa.si/download/2160092.torrent</link>\n\t\t\t\t<guid isPermaLink="true">https://nyaa.si/view/2160092</guid>\n\t\t\t\t<pubDate>Sat, 12 Sep 2026 15:45:00 -0000</pubDate>\n\n\t\t\t\t<nyaa:seeders>33</nyaa:seeders>\n\t\t\t\t<nyaa:leechers>3</nyaa:leechers>\n\t\t\t\t<nyaa:downloads>833</nyaa:downloads>\n\t\t\t\t<nyaa:infoHash>ef3e7ad1b12bdd9fc341691d8866cd1fa8374a4b</nyaa:infoHash>\n\t\t\t<nyaa:categoryId>1_2</nyaa:categoryId>\n\t\t\t<nyaa:category>Anime - English-translated</nyaa:category>\n\t\t\t<nyaa:size>6.6 GiB</nyaa:size>\n\t\t\t<nyaa:comments>0</nyaa:comments>\n\t\t\t<nyaa:trusted>No</nyaa:trusted>\n\t\t\t<nyaa:remake>No</nyaa:remake>\n\t\t\t<description><![CDATA[<a href="https://nyaa.si/view/2160092">#2160092 | [Erai-raws] Sousou no Frieren 2nd Season [1080p CR WEBRip HEVC AAC][MultiSub] (unofficial batch)</a> | 6.6 GiB | Anime - English-translated | ef3e7ad1b12bdd9fc341691d8866cd1fa8374a4b]]></description>\n\t\t</item>\n<item>\n\t\t\t<title>Frieren: Beyond Journey's End (Sousou no Frieren) - S01 (YT WEB-DL 720p VP9 Opus) (Muse/Telesuccess Filipino English dub)</title>\n\t\t\t\t<link>https://nyaa.si/download/2154329.torrent</link>\n\t\t\t\t<guid isPermaLink="true">https://nyaa.si/view/2154329</guid>\n\t\t\t\t<pubDate>Mon, 31 Aug 2026 12:32:25 -0000</pubDate>\n\n\t\t\t\t<nyaa:seeders>16</nyaa:seeders>\n\t\t\t\t<nyaa:leechers>0</nyaa:leechers>\n\t\t\t\t<nyaa:downloads>273</nyaa:downloads>\n\t\t\t\t<nyaa:infoHash>a47b68971cdb82a4ef05ca239317cdef99bd2ca0</nyaa:infoHash>\n\t\t\t<nyaa:categoryId>1_2</nyaa:categoryId>\n\t\t\t<nyaa:category>Anime - English-translated</nyaa:category>\n\t\t\t<nyaa:size>3.1 GiB</nyaa:size>\n\t\t\t<nyaa:comments>0</nyaa:comments>\n\t\t\t<nyaa:trusted>No</nyaa:trusted>\n\t\t\t<nyaa:remake>No</nyaa:remake>\n\t\t\t<description><![CDATA[<a href="https://nyaa.si/view/2154329">#2154329 | Frieren: Beyond Journey's End (Sousou no Frieren) - S01 (YT WEB-DL 720p VP9 Opus) (Muse/Telesuccess Filipino English dub)</a> | 3.1 GiB | Anime - English-translated | a47b68971cdb82a4ef05ca239317cdef99bd2ca0]]></description>\n\t\t</item></channel></rss>';
|
||||
export const MIKAN_RSS_SEARCH =
|
||||
'<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Mikan Project - 搜索结果:葬送的芙莉莲</title><link>http://mikanani.me/RSS/Search?searchstr=%E8%91%AC%E9%80%81%E7%9A%84%E8%8A%99%E8%8E%89%E8%8E%B2</link><description>Mikan Project - 搜索结果:葬送的芙莉莲</description><item><guid isPermaLink="false">[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p x265 OPUS 2.0</guid><link>https://mikanani.me/Home/Episode/f8651444a2c0b3ff7e3da3cbd75da58ef5f09e19</link><title>[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p x265 OPUS 2.0</title><description>[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p x265 OPUS 2.0[48.5GB]</description><torrent xmlns="https://mikanani.me/0.1/"><link>https://mikanani.me/Home/Episode/f8651444a2c0b3ff7e3da3cbd75da58ef5f09e19</link><contentLength>52076478464</contentLength><pubDate>2026-08-28T05:32:00</pubDate></torrent><enclosure type="application/x-bittorrent" length="52076478464" url="https://mikanani.me/Download/20260828/f8651444a2c0b3ff7e3da3cbd75da58ef5f09e19.torrent" /></item>\n<item><guid isPermaLink="false">[Shiniori-Raws]葬送的芙莉莲 第二季/Sousou no Frieren S2 4k 2160p x265 10bit</guid><link>https://mikanani.me/Home/Episode/3532d30205dbc53cdaa7d03285b5cf497258fa7d</link><title>[Shiniori-Raws]葬送的芙莉莲 第二季/Sousou no Frieren S2 4k 2160p x265 10bit</title><description>[Shiniori-Raws]葬送的芙莉莲 第二季/Sousou no Frieren S2 4k 2160p x265 10bit[21.1GB]</description><torrent xmlns="https://mikanani.me/0.1/"><link>https://mikanani.me/Home/Episode/3532d30205dbc53cdaa7d03285b5cf497258fa7d</link><contentLength>22655952896</contentLength><pubDate>2026-08-22T21:17:00</pubDate></torrent><enclosure type="application/x-bittorrent" length="22655952896" url="https://mikanani.me/Download/20260822/3532d30205dbc53cdaa7d03285b5cf497258fa7d.torrent" /></item></channel></rss>';
|
||||
export const ANIBT_RSS_LATEST =
|
||||
'<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:anibt="https://anibt.net/xmlns/rss/1.0/">\n <channel>\n <title>AniBT Anime Releases</title>\n <link>https://anibt.net/magnets</link>\n <description>Latest anime releases</description>\n <atom:link href="https://anibt.net/rss/magnets.xml" rel="self" type="application/rss+xml" />\n <ttl>2</ttl>\n <item>\n <title>[Nix-Raws] 北斗之拳 拳王军杂兵们的挽歌 / Hokuto no Ken Kenou-gun Zako-tachi no Banka S01E12 [CATCHPLAY WEB-DL 1080p AVC AAC][简繁内封]</title>\n <link>https://anibt.net/release/rel_TC7FrmcvDwIw</link>\n <guid isPermaLink="false">rel_TC7FrmcvDwIw</guid>\n <pubDate>Fri, 02 Oct 2026 20:25:10 +0800</pubDate>\n <anibt:type>anime</anibt:type>\n <anibt:releaseId>rel_TC7FrmcvDwIw</anibt:releaseId>\n <anibt:releasePageUrl>https://anibt.net/release/rel_TC7FrmcvDwIw</anibt:releasePageUrl>\n <anibt:torrentUrl>https://anibt.net/api/torrent/rel_TC7FrmcvDwIw.torrent</anibt:torrentUrl>\n <anibt:bgmId>637339</anibt:bgmId>\n <anibt:animeTitle>北斗神拳 拳王军杂兵们的挽歌 第二季</anibt:animeTitle>\n <anibt:animeTitleEnglish>Animatica "Elegy for the Henchmen: Fist of the North Star"</anibt:animeTitleEnglish>\n <anibt:releaseTitle>[Nix-Raws] 北斗之拳 拳王军杂兵们的挽歌 / Hokuto no Ken Kenou-gun Zako-tachi no Banka S01E12 [CATCHPLAY WEB-DL 1080p AVC AAC][简繁内封]</anibt:releaseTitle>\n <anibt:episode>12</anibt:episode>\n <anibt:episodeKey>12</anibt:episodeKey>\n <anibt:version>v1</anibt:version>\n <anibt:groupName>Nix-Raws</anibt:groupName>\n <anibt:groupSlug>nix-raws</anibt:groupSlug>\n <anibt:resolution>1080p</anibt:resolution>\n <anibt:language>CHS</anibt:language>\n <anibt:subtitle>INTERNAL</anibt:subtitle>\n <anibt:format>MKV</anibt:format>\n <anibt:fileSize>121370659</anibt:fileSize>\n <anibt:customTag>AVC</anibt:customTag>\n <anibt:customTag>WEB-DL</anibt:customTag>\n <anibt:customTag>AAC</anibt:customTag>\n <description><![CDATA[<p><strong>北斗神拳 拳王军杂兵们的挽歌 第二季 / Animatica "Elegy for the Henchmen: Fist of the North Star"</strong> · 12 · v1</p>\n<hr/>\n本种子由自动化从AniBT 同步往其他站点\n<hr/>\n<p>🏷️ Nix-Raws · 📺 1080p · 🌐 CHS · 💬 INTERNAL · 📁 MKV · 💾 115.75 MB</p>\n<p>🔖 AVC, WEB-DL, AAC</p>\n<hr/>\n<p>⬇️ <a href="https://anibt.net/api/torrent/rel_TC7FrmcvDwIw.torrent">下载种子</a></p>\n<p>🔗 <a href="https://anibt.net/release/rel_TC7FrmcvDwIw">查看详情</a></p>]]></description>\n <torrent xmlns="https://anibt.moe/xmlns/0.1/">\n <link>https://anibt.net/release/rel_TC7FrmcvDwIw</link>\n <contentLength>121370659</contentLength>\n <pubDate>2026-10-02T20:25:10+08:00</pubDate>\n <infohash>5c0d61c12c05d21afe494bef153d9908c2aad4ae</infohash>\n <filename>[Nix-Raws] 北斗之拳 拳王军杂兵们的挽歌 / Hokuto no Ken Kenou-gun Zako-tachi no Banka S01E12 [CATCHPLAY WEB-DL 1080p AVC AAC][简繁内封]</filename>\n </torrent>\n <enclosure url="https://anibt.net/api/torrent/rel_TC7FrmcvDwIw.torrent" length="121370659" type="application/x-bittorrent" />\n </item>\n<item>\n <title>[Nix-Raws] 北斗之拳 拳王军杂兵们的挽歌 / Hokuto no Ken Kenou-gun Zako-tachi no Banka S01E11 [CATCHPLAY WEB-DL 1080p AVC AAC][简繁内封]</title>\n <link>https://anibt.net/release/rel_ECKRhYGx11Hm</link>\n <guid isPermaLink="false">rel_ECKRhYGx11Hm</guid>\n <pubDate>Fri, 02 Oct 2026 20:25:06 +0800</pubDate>\n <anibt:type>anime</anibt:type>\n <anibt:releaseId>rel_ECKRhYGx11Hm</anibt:releaseId>\n <anibt:releasePageUrl>https://anibt.net/release/rel_ECKRhYGx11Hm</anibt:releasePageUrl>\n <anibt:torrentUrl>https://anibt.net/api/torrent/rel_ECKRhYGx11Hm.torrent</anibt:torrentUrl>\n <anibt:bgmId>637339</anibt:bgmId>\n <anibt:animeTitle>北斗神拳 拳王军杂兵们的挽歌 第二季</anibt:animeTitle>\n <anibt:animeTitleEnglish>Animatica "Elegy for the Henchmen: Fist of the North Star"</anibt:animeTitleEnglish>\n <anibt:releaseTitle>[Nix-Raws] 北斗之拳 拳王军杂兵们的挽歌 / Hokuto no Ken Kenou-gun Zako-tachi no Banka S01E11 [CATCHPLAY WEB-DL 1080p AVC AAC][简繁内封]</anibt:releaseTitle>\n <anibt:episode>11</anibt:episode>\n <anibt:episodeKey>11</anibt:episodeKey>\n <anibt:version>v1</anibt:version>\n <anibt:groupName>Nix-Raws</anibt:groupName>\n <anibt:groupSlug>nix-raws</anibt:groupSlug>\n <anibt:resolution>1080p</anibt:resolution>\n <anibt:language>CHS</anibt:language>\n <anibt:subtitle>INTERNAL</anibt:subtitle>\n <anibt:format>MKV</anibt:format>\n <anibt:fileSize>122143551</anibt:fileSize>\n <anibt:customTag>AVC</anibt:customTag>\n
Line truncated
|
||||
export const ANIBT_TORZNAB_SEARCH =
|
||||
'<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:torznab="http://torznab.com/schemas/2015/feed" xmlns:newznab="http://www.newznab.com/DTD/2010/feeds/attributes/">\n <channel>\n <title>AniBT</title>\n <link>https://anibt.net/</link>\n <description>AniBT anime releases (Torznab)</description>\n <language>zh-cn</language>\n <newznab:response offset="0" total="9" />\n <item>\n <title>[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p x265 OPUS 2.0</title>\n <guid isPermaLink="false">rel_U6lR5dHzDTZS</guid>\n <link>https://anibt.net/api/torrent/rel_U6lR5dHzDTZS.torrent</link>\n <comments>https://anibt.net/release/rel_U6lR5dHzDTZS</comments>\n <pubDate>Fri, 28 Aug 2026 23:15:47 +0800</pubDate>\n <enclosure url="https://anibt.net/api/torrent/rel_U6lR5dHzDTZS.torrent" length="52023960599" type="application/x-bittorrent" />\n <torznab:attr name="size" value="52023960599" />\n <torznab:attr name="category" value="5000" />\n <torznab:attr name="category" value="5070" />\n <torznab:attr name="infohash" value="f8651444a2c0b3ff7e3da3cbd75da58ef5f09e19" />\n <torznab:attr name="downloadvolumefactor" value="0" />\n <torznab:attr name="uploadvolumefactor" value="1" />\n </item>\n<item>\n <title>[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p AV1 OPUS 2.0</title>\n <guid isPermaLink="false">rel_YSOcchQzmzO5</guid>\n <link>https://anibt.net/api/torrent/rel_YSOcchQzmzO5.torrent</link>\n <comments>https://anibt.net/release/rel_YSOcchQzmzO5</comments>\n <pubDate>Sat, 15 Aug 2026 12:19:52 +0800</pubDate>\n <enclosure url="https://anibt.net/api/torrent/rel_YSOcchQzmzO5.torrent" length="27714372145" type="application/x-bittorrent" />\n <torznab:attr name="size" value="27714372145" />\n <torznab:attr name="category" value="5000" />\n <torznab:attr name="category" value="5070" />\n <torznab:attr name="infohash" value="9a7b7d3a08d4889b44f0ed6d701468802b766f28" />\n <torznab:attr name="downloadvolumefactor" value="0" />\n <torznab:attr name="uploadvolumefactor" value="1" />\n </item></channel></rss>';
|
||||
export const ANIMEGARDEN_RESOURCES = {
|
||||
status: "OK",
|
||||
resources: [
|
||||
{
|
||||
id: 2456977,
|
||||
provider: "dmhy",
|
||||
providerId: "725809",
|
||||
title: "[7³ACG] 葬送的芙莉莲/Sousou no Frieren S01 | 01-28+SPx11 [简繁字幕] BDrip 1080p x265 OPUS 2.0",
|
||||
href: "https://share.dmhy.org/topics/view/725809_7_ACG_Sousou_no_Frieren_S01_01-28_SPx11_BDrip_1080p_x265_OPUS_2_0.html",
|
||||
type: "合集",
|
||||
magnet: "magnet:?xt=urn:btih:7BSRIRFCYCZ767R5UPF5OXNFR327BHQZ",
|
||||
size: 52076478464,
|
||||
createdAt: "2026-08-27T21:32:00.000Z",
|
||||
fetchedAt: "2026-09-19T05:26:47.016Z",
|
||||
publisher: {
|
||||
id: 46,
|
||||
name: "c8l",
|
||||
avatar: "https://cdn.discordapp.com/attachments/926889384962318377/1027937252858400778/unknown.png",
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 2455562,
|
||||
provider: "dmhy",
|
||||
providerId: "725446",
|
||||
title: "[Shiniori-Raws]葬送的芙莉莲 第二季/Sousou no Frieren S2 4k 2160p x265 10bit",
|
||||
href: "https://share.dmhy.org/topics/view/725446_Shiniori-Raws_Sousou_no_Frieren_S2_4k_2160p_x265_10bit.html",
|
||||
type: "合集",
|
||||
magnet: "magnet:?xt=urn:btih:GUZNGAQF3PCTZWVH2AZILNOPJFZFR6T5",
|
||||
size: 22655951872,
|
||||
createdAt: "2026-08-22T13:17:00.000Z",
|
||||
fetchedAt: "2026-09-03T03:00:00.007Z",
|
||||
publisher: {
|
||||
id: 67,
|
||||
name: "我是搬运工",
|
||||
avatar: "https://mzh.moegirl.org.cn/%E7%94%B5%E6%AC%A1(%E7%94%B5%E9%94%AF%E4%BA%BA)",
|
||||
},
|
||||
},
|
||||
],
|
||||
pagination: {
|
||||
page: 1,
|
||||
pageSize: 3,
|
||||
complete: false,
|
||||
},
|
||||
filter: {
|
||||
search: [" 葬送 "],
|
||||
},
|
||||
};
|
||||
export const BANGUMIMOE_LATEST = {
|
||||
torrents: [
|
||||
{
|
||||
_id: "66f1c2d3e4f5a6b7c8d9e0f1",
|
||||
title: "【喵萌奶茶屋】★07月新番★[示例 / Sample][12][1080p][简日双语]",
|
||||
size: "345.6MB",
|
||||
publish_time: "2026-10-02T12:00:00.000Z",
|
||||
magnet: "magnet:?xt=urn:btih:0123456789abcdef0123456789abcdef01234567",
|
||||
infoHash: "0123456789abcdef0123456789abcdef01234567",
|
||||
seeders: 12,
|
||||
leechers: 3,
|
||||
finished: 40,
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -1,5 +1,6 @@
|
||||
export * from "./fixtures/definitions/index.ts";
|
||||
export * from "./fixtures/details/index.ts";
|
||||
export * from "./fixtures/public-bt.ts";
|
||||
export * from "./fixtures/spiders/index.ts";
|
||||
export * from "./fixtures/user-parsers/index.ts";
|
||||
export {
|
||||
|
||||
Reference in new issue
Block a user