Skip to content

Enums

Tracker

Bases: CaseInsensitiveStrEnum

Enum of public and private trackers.

AITHER class-attribute instance-attribute

AITHER = 'Aither'

ANIDEX class-attribute instance-attribute

ANIDEX = 'AniDex'

ANIMEBYTES class-attribute instance-attribute

ANIMEBYTES = 'AB'

ANIMETOSHO class-attribute instance-attribute

ANIMETOSHO = 'AnimeTosho'

BEYONDHD class-attribute instance-attribute

BEYONDHD = 'BeyondHD'

BLUTOPIA class-attribute instance-attribute

BLUTOPIA = 'Blutopia'

BROADCASTTHENET class-attribute instance-attribute

BROADCASTTHENET = 'BroadcastTheNet'

HDBITS class-attribute instance-attribute

HDBITS = 'HDBits'

NYAA class-attribute instance-attribute

NYAA = 'Nyaa'

OTHER class-attribute instance-attribute

OTHER = 'Other'

OTHER_PRIVATE class-attribute instance-attribute

OTHER_PRIVATE = 'OtherPrivate'

PASSTHEPOPCORN class-attribute instance-attribute

PASSTHEPOPCORN = 'PassThePopcorn'

RUTRACKER class-attribute instance-attribute

RUTRACKER = 'RuTracker'

url property

url: str

URL of the current tracker.

Returns:

Type Description
str

URL of the tracker.

Notes

Returns an empty string for Tracker.OTHER and Tracker.OTHER_PRIVATE.

is_private

is_private() -> bool

Check if the current tracker is private.

Returns:

Type Description
bool

True if the tracker is private, False otherwise.

Source code in src/seadex/_enums.py
def is_private(self) -> bool:
    """
    Check if the current tracker is private.

    Returns
    -------
    bool
        `True` if the tracker is private, `False` otherwise.

    """
    return not self.is_public()

is_public

is_public() -> bool

Check if the current tracker is public.

Returns:

Type Description
bool

True if the tracker is public, False otherwise.

Source code in src/seadex/_enums.py
def is_public(self) -> bool:
    """
    Check if the current tracker is public.

    Returns
    -------
    bool
        `True` if the tracker is public, `False` otherwise.

    """
    return self.value in ("Nyaa", "AnimeTosho", "AniDex", "RuTracker", "Other")