Merge branch 'det2'

Co-Authored-By: Claude Fable 5.1 <[email protected]>

# Conflicts:
#	packages/adapters/src/sites/definitions/audiences.json
#	scripts/mp-sync/movieclaw-overrides/audiences.json
This commit is contained in:
root committed 2026-09-30 20:50:04 +08:00
commit 389c49dd12
17 files changed
+1301 -69

No files matched your search

@@ -140,7 +140,7 @@
}
},
"description": {
"selector": "span.torrent-subtitle-line"
"selector": "span.torrent-subtitle-text"
},
"category": {
"selector": "a[href*=\"?cat=\"]",
@@ -168,7 +168,7 @@
}
},
"umt": {
"version": "audiences@0.2.1-unverified",
"version": "audiences@0.3.1",
"kind": "nexusphp",
"displayName": "观众",
"timezone": "+08:00",
@@ -225,7 +225,55 @@
},
"description": "#kdescr",
"headerScope": "h1#top",
"notFoundMarkers": ["没有该ID的种子", "No torrent with ID"]
"notFoundMarkers": ["没有该ID的种子", "No torrent with ID"],
"fields": {
"seeders": "#seeders",
"leechers": "#leechers",
"snatched": "a[title='完成'][href*='viewsnatches.php']",
"infoHash": "#copyTorrentHashLink::attr(data-hash)"
},
"promo": {
"downloadvolumefactor": {
"case": {
"font.free": 0,
"font.twoupfree": 0,
"font.halfdown": 0.5,
"font.twouphalfdown": 0.5,
"font.thirtypercent": 0.3,
"img.pro_free": 0,
"img.pro_free2up": 0,
"img.pro_50pctdown": 0.5,
"img.pro_50pctdown2up": 0.5,
"img.pro_30pctdown": 0.3,
"*": 1
}
},
"uploadvolumefactor": {
"case": {
"font.twoup": 2,
"font.twoupfree": 2,
"font.twouphalfdown": 2,
"img.pro_50pctdown2up": 2,
"img.pro_free2up": 2,
"img.pro_2up": 2,
"*": 1
}
},
"freedate": {
"selector": "img[class^=\"pro_\"], span[title]",
"attribute": "title",
"filters": [
{
"name": "re_search",
"args": ["\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}", 0]
}
]
}
},
"page": {
"uploader": "span.torrent-uploader-wrap",
"descriptionStrip": "#ad_torrentdetail"
}
}
}
}
@@ -139,8 +139,13 @@ const UmtNexusSchema = z.strictObject({
imdb: z.string().optional(),
douban: z.string().optional(),
fileList: z.string().optional(),
seeders: z.string().optional(),
leechers: z.string().optional(),
snatched: z.string().optional(),
infoHash: z.string().optional(),
})
.optional(),
promo: z.record(z.string(), SpiderFieldSelectorSchema).optional(),
page: z
.strictObject({
labelSelectors: z.array(z.string()).optional(),
@@ -150,6 +155,7 @@ const UmtNexusSchema = z.strictObject({
uploader: z.string().optional(),
files: z.string().optional(),
fileListPath: z.string().optional(),
descriptionStrip: z.string().optional(),
})
.optional(),
})