Skip to content

Commit

Permalink
feat: Add "Other" category to StreamLabsTikTokStreamKeyGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
Loukious committed Aug 8, 2024
1 parent edf98ba commit 4e855b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions StreamLabsTikTokStreamKeyGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def search(self, game):
return []
url = f"https://streamlabs.com/api/v5/slobs/tiktok/info?category={game}"
info = self.s.get(url).json()
info["categories"].append({"full_name": "Other", "game_mask_id": ""})
return info["categories"]

def start(self, title, category):
Expand Down

0 comments on commit 4e855b0

Please sign in to comment.