archivebate work and pornxp returned
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Implement a new Hottub provider for `<SITE_NAME>` at `<BASE_URL>`.
|
||||
Implement a new Hottub provider for `archivebate1` at `https://archivebate1.com`.
|
||||
|
||||
You are working inside the Hottub Rust server. Your job is to add a functioning provider module that can survive handoff to another model with minimal guesswork. Do not stop at code generation. Carry the work through code, validation, and documentation updates.
|
||||
|
||||
@@ -70,6 +70,7 @@ Implementation requirements:
|
||||
- If uploader support is implemented, use a namespaced `uploaderId` such as `<channel>:<site-local-id>` so `/api/uploaders` can route directly.
|
||||
- If the query matches a known tag/uploader shortcut, use the direct archive URL instead of generic search.
|
||||
- If the site exposes real media URLs or HLS manifests, populate `formats`.
|
||||
- If the video page URL can be directly downloaded by yt-dlp, set `video.url` to the page URL and do not populate `formats`, as yt-dlp will extract formats dynamically.
|
||||
- If direct playback needs a referer/cookie transform, use a local `/proxy/...` route built with `build_proxy_url(&options, "...", target)`.
|
||||
- Keep the first version small and reliable. Add extra filters only after the default feed, search, and pagination are working.
|
||||
|
||||
@@ -85,7 +86,7 @@ Validation requirements:
|
||||
- page 2
|
||||
- at least one tag/uploader shortcut if implemented
|
||||
6. Verify thumbnails load.
|
||||
7. Verify `yt-dlp` can resolve `video.url` or one of `formats[*].url`.
|
||||
7. Verify `yt-dlp` can resolve `video.url` (if formats are not populated) or one of `formats[*].url` (if formats are populated).
|
||||
8. If a proxy route exists, verify it directly with `curl -I` or equivalent.
|
||||
|
||||
Testing commands to run:
|
||||
@@ -115,6 +116,7 @@ Important Hottub-specific rules:
|
||||
- Do not create a brand-new requester in normal provider fetches unless you have a strong reason.
|
||||
- Do not assume page URLs are playable media URLs.
|
||||
- Do not expose status filters that you did not implement in `get_videos`.
|
||||
- Do not populate `formats` if the page URL is yt-dlp compatible; instead, set `video.url` to the page URL.
|
||||
- Do not finish without checking at least one returned media URL with `yt-dlp`.
|
||||
- Do not claim pagination works unless page 2 was verified.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user