forked from bitmagnet-io/bitmagnet
-
Notifications
You must be signed in to change notification settings - Fork 0
ThePornDB Classification
Michael edited this page Jul 17, 2026
·
1 revision
TMDB does not cover adult content, so XXX torrents normally stay unclassified. This fork adds a ThePornDB (TPDB) classifier that matches and titles adult content, running in the same classifier pipeline as TMDB and OMDb.
It is disabled by default and requires an API key.
- Get an API token from theporndb.net (account required).
- Add to
config.yml:
tpdb:
enabled: true
api_key: your_tpdb_token_hereOr via environment variables:
environment:
- TPDB_ENABLED=true
- TPDB_APIKEY=your_tpdb_token_hereNo separate worker key is needed -- TPDB runs inline in the classifier pipeline, like OMDb.
tpdb:
enabled: true
api_key: your_tpdb_token_here
base_url: https://api.theporndb.net # default
rate_limit: 1s # default 1 req/sec (API allows 2/sec)
rate_limit_burst: 1- Fires for torrents classified as adult content.
- Non-fatal: if a lookup fails, the torrent keeps whatever classification it already had.
- Conservative default rate limit (1 request/second) to stay within API limits.
- Disabled automatically when
tpdb.enabledis false ortpdb.api_keyis empty.
See Content Classification for how the classifier pipeline fits together.