- rss: port of MP RssHelper._parse_impl/get_rss_link semantics with safe XML (entities off, DTD/ENTITY rejected, size/item caps), ETag/Last-Modified, backoff + Retry-After, circuit breaker with manual reset, passkey redaction, overlap-window GUID+digest dedupe - sites/spider: TS port of MP SiteSpider (indexer schema, search URL builder, field DSL, filters, Jinja templates via nunjucks, login-page detection); audiences definition hand-written as JSON; raw category id preserved; shared per-site token bucket - sites/mteam: port of MP MTorrentSpider (params, result mapping, promo factors, genDlToken flow) without embedding the API key in enclosures; business code/message checks - testkit: mock RSS server, mock NexusPHP site, mock M-Team API - docs: W1-3b migration mapping appended to porting ledger Co-Authored-By: Claude Fable 5.1 <[email protected]>
23 lines
427 B
JSON
23 lines
427 B
JSON
{
|
|
"name": "@umt/adapters",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"cheerio": "^1.2.0",
|
|
"fast-xml-parser": "^5.11.1",
|
|
"nunjucks": "^3.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/nunjucks": "^3.2.6",
|
|
"@umt/testkit": "workspace:*"
|
|
}
|
|
}
|