summaryrefslogtreecommitdiffstats
path: root/webapi
diff options
context:
space:
mode:
Diffstat (limited to 'webapi')
-rw-r--r--webapi/holodex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapi/holodex.py b/webapi/holodex.py
index 2b92305..7c2bcd5 100644
--- a/webapi/holodex.py
+++ b/webapi/holodex.py
@@ -1,7 +1,7 @@
from webapi.web_api import WebAPI
from typing import Iterable
-
+EXCLUSION_OVERRIDE = ["UCXDytlJU6RL8D68VrPZGyIA"]
class HolodexAPI(WebAPI):
"""
Class for interacting with the Holodex API
@@ -34,7 +34,7 @@ class HolodexAPI(WebAPI):
additional_data = self.get_additional_data(channel["id"])
channel["view_count"] = additional_data[0]
channel["description"] = additional_data[1]
- if channel["inactive"]:
+ if channel["inactive"] and channel["id"] not in EXCLUSION_OVERRIDE:
self._inactive_channels.append(channel["id"])
continue
active_channels.append(channel)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage