https://github.com/abdullahkhfb/animepahe-dub-detector
AnimePahe DUB Detector script
https://github.com/abdullahkhfb/animepahe-dub-detector
Last synced: about 2 months ago
JSON representation
AnimePahe DUB Detector script
- Host: GitHub
- URL: https://github.com/abdullahkhfb/animepahe-dub-detector
- Owner: abdullahkhfb
- License: gpl-3.0
- Created: 2026-05-07T11:59:02.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-07T14:03:10.000Z (2 months ago)
- Last Synced: 2026-05-07T14:36:56.572Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AnimePahe DUB Detector
Tags dubbed episodes with DUB badges on AnimePahe — per episode, automatically.
## Features
- Detects English-dubbed episodes on anime pages, play pages, and the home page.
- Two-stage validation: queries the episode links API, then falls back to parsing the play page HTML.
- Results cached for 12 hours (configurable) to avoid repeated requests.
- Batch processing (3 episodes at a time) to reduce load.
- Status pill in bottom-right corner shows progress, then disappears.
## Installation
1. Install a userscript manager.
**Recommended: [ScriptCat](https://scriptcat.org/)** (fast, modern, with cloud backup, open-source ).
2. Open the [raw script](https://update.greasyfork.org/scripts/577043/AnimePahe-DUB-Detector.user.js) your manager will prompt to install.
3. Click Install.
Visible results:
- **Anime page**: Orange `DUB` badge on dubbed episode cards (top-right).
- **Play page**: `DUB` badge next to the episode number.
- **Home page**: Pink badge like `4/12` on anime covers (top-right), showing dubbed/total episodes.
## Configuration
Edit these variables at the top of the script if needed:
- `CACHE_TTL` – cache lifetime in milliseconds (default: 12 hours).
- `BATCH_SIZE` – concurrent checks per batch (default: 3).
## Known Issues
- Rate limiting (HTTP 429). The script batches requests and caches results; if limited, wait a few minutes.
- Home page uses a MutationObserver with 500ms debounce for newly loaded content.
## License
[GPLv3](LICENSE)