diff --git a/lib/svtplay_dl/utils/text.py b/lib/svtplay_dl/utils/text.py index 772bb18..4d2b25c 100644 --- a/lib/svtplay_dl/utils/text.py +++ b/lib/svtplay_dl/utils/text.py @@ -57,6 +57,6 @@ def exclude(config, name): if config.get("exclude"): excludes = config.get("exclude").split(",") for exclude in excludes: - if exclude in name: + if exclude in str(name.name): return True return False