@duyquangnvx/webnovel-downloader 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ Given a webnovel URL from a supported site, fetch the full novel as structured d
|
|
|
14
14
|
|
|
15
15
|
| Site | Adapter id | TOC strategy | Notes |
|
|
16
16
|
|---|---|---|---|
|
|
17
|
-
| `truyenfull.
|
|
17
|
+
| `truyenfull.today` (+ `truyenfull.vision`, `truyenfull.vn`) | `truyenfull` | S1 paginated (`/trang-N/`) | Auto-rewrites legacy `.vision`/`.vn` hosts → `truyenfull.today`. |
|
|
18
18
|
| `metruyenchu.com.vn` | `metruyenchu-com-vn` | S2 + S4 hybrid (HTML page-1 + JSON `/get/listchap/<bid>`) | Distinct from the dead `metruyenchu.com` brand. |
|
|
19
19
|
| `wikicv.net` (+ `truyenwikidich.net`) | `wikicv` | S4 via browser (`/book/index` XHR intercept; HMAC-signed) | Auto-rewrites `truyenwikidich.net` host. Requires the browser tier (patchright recommended). |
|
|
20
20
|
| `tangthuvien.net` | `tangthuvien` | scaffold — M5.1 | Site was unreachable at 2026-05-03 survey; selectors and parsers TBD. |
|
package/dist/index.cjs
CHANGED
|
@@ -2508,6 +2508,8 @@ var TruyenFullAdapter = class extends BaseAdapter {
|
|
|
2508
2508
|
id = unsafeBrandAdapterId("truyenfull");
|
|
2509
2509
|
displayName = "TruyenFull";
|
|
2510
2510
|
hostnames = [
|
|
2511
|
+
"truyenfull.today",
|
|
2512
|
+
"www.truyenfull.today",
|
|
2511
2513
|
"truyenfull.vision",
|
|
2512
2514
|
"www.truyenfull.vision",
|
|
2513
2515
|
"truyenfull.vn",
|
|
@@ -2563,7 +2565,13 @@ var TruyenFullAdapter = class extends BaseAdapter {
|
|
|
2563
2565
|
return parseChapterPage($, targetRef);
|
|
2564
2566
|
}
|
|
2565
2567
|
#normalize(url) {
|
|
2566
|
-
return mapHostname(url, {
|
|
2568
|
+
return mapHostname(url, {
|
|
2569
|
+
"truyenfull.vn": "truyenfull.today",
|
|
2570
|
+
"www.truyenfull.vn": "truyenfull.today",
|
|
2571
|
+
"truyenfull.vision": "truyenfull.today",
|
|
2572
|
+
"www.truyenfull.vision": "truyenfull.today",
|
|
2573
|
+
"www.truyenfull.today": "truyenfull.today"
|
|
2574
|
+
});
|
|
2567
2575
|
}
|
|
2568
2576
|
};
|
|
2569
2577
|
function stripTrailingSlash(u) {
|