Remove processing of tags;

- Removes all logic related to stream tags processing
- Implements a new method of fetching live non-ACL channels, with drops enabled
- Minor logic cleanup changes
This commit is contained in:
DevilXD committed 2023-10-15 12:06:58 +02:00
1 parent 67cfc6603d
commit 5e862f9543
4 files changed
+54 -22

No files matched your search

+8
View File
@@ -2,6 +2,7 @@ from __future__ import annotations
import io
import os
import re
import sys
import json
import random
@@ -402,3 +403,10 @@ class Game:
def __hash__(self) -> int:
return self.id
@property
def slug(self) -> str:
"""
Converts the game name into a slug, useable for the GQL API.
"""
return re.sub(r'(?![- ])\W', '', self.name.lower().replace(' ', '-'))