RedditVideoMakerBot
RedditVideoMakerBot copied to clipboard
When text has italics it says _word_
when reading text the tts says word
One solution I can think of is simply sanitizing the TTS input e.g.
TEXT_WHITELIST = set('abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890')
def textify(text):
return ''.join(filter(TEXT_WHITELIST.__contains__, text))
Then Just call the textify function on the comment content
Good idea, seems to work, do you wanna make a pull?
Good idea, seems to work, do you wanna make a pull?
Unfortunately I already have a fork and it is vastly different from this repo with almost everything being different