offish / twitchtube

Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.
MIT License
540 stars 77 forks source link

Blacklisting Games Not Working #94

Open Ahsan221B opened 1 year ago

Ahsan221B commented 1 year ago

Adding a list of blacklisted games doesn't work. For example, let's say I have 5 streamers who play Game A and Game B. if I have blacklisted Game B, I should only be getting videos of Game A, but unfortunately, I get the videos of both Game A and Game B from some of the streamers. Not sure if it's a bug or if I am doing something wrong.

How would you blacklist a game like Counter-Strike: Global Offensive for example? Will you write the whole name as is? Or will you write the slug in the URL Counter-Strike%3A%20Global%20Offensive?

Also, in the blacklist, can I input data like this:

BLACKLIST = [
    "c ludwig",
    "g Counter-Strike: Global Offensive",
    "g Counter-Strike%3A%20Global%20Offensive",
    "g Fortnite",
    "g Just Chatting"
]
Ahsan221B commented 1 year ago

@offish can you please comment on this?