MoneyPrinter
MoneyPrinter copied to clipboard
feat: Using videos from TikTok
Using videos from TikTok using TikTok API. When TIKTOK_MS_CODE env exists, it uses videos from Tiktok instead of Pexels
TikTok API: https://github.com/davidteather/TikTok-Api
Good changes but do the same thing I did and keep the format of video.py and maybe a few others from this,
import requests
import srt_equalizer
import assemblyai as aai
import asyncio
import random
To this:
import asyncio
import random
import requests
import srt_equalizer
import assemblyai as aai
Aka keep the shortest at the start and longest at the end.
What is the copyright situation with tiktok videos? No point in using them if the resulting video gets a strike when uploaded...
@jhl8041 Did you test whether it works? Also, somehow needs to make sure there aren't pre-made subtitles on the TikToks. That would cause an irritating overlay, maybe use tesseract OCR, or something in that direction.
Also can we not remove pexel and let user choose where to get videos from?
@Ashes47 Where would they get it from? The whole point of this program is to do everything automatically.
it's also a search on tiktok? 🤔
@Ashes47 couldn't find search feature on TikTok API so I used generating hashtag to search 🫠
@radry I'm not quite sure with copyrights with TikTok, but I think it wouldn't be that strict if their music is not included..? Not quite sure though..
@jhl8041 Did you test whether it works? Also, somehow needs to make sure there aren't pre-made subtitles on the TikToks. That would cause an irritating overlay, maybe use tesseract OCR, or something in that direction.
@FujiwaraChoki I'll come up with the solution to avoid overlay subtitles and request PR again. Thanks for the direction