[Journey] TikTok to Youtube automation

Floccer

Regular Member
Joined
Mar 2, 2019
Messages
366
Reaction score
163
Hello everyone

For the past week, I have been building a bot to scrape videos from TikTok, compile them into one piece and later upload it to Youtube.
This is completely self-made and the only cost has been 9€ for the domain that I use to redirect people to another page.
I can see how many people have clicked my link and little more details I can see from the affiliate page. There is 6 click now.

I hope I someday manage to do these bots without the selenium browser but at least it works.

Uploading to the youtube part has not been started. I have a new channel where I will start posting videos soon.
Before I get my bot to do uploading I will be posting videos manually. Maybe one video per day.

Now I have 10 videos made ranging from 4 to 15 mins and all contain 5 clips. I wasn't going to do shorts on this channel but that would be easily doable as I just would skip compiling part.
It takes about 10 minutes to scrape, download 5 videos from the hashtag and compile them into one. I'm keeping a database of downloaded videos so there should be very few duplicate videos

Let's just hope youtube is nice enough to give views to my videos. I have a 15-sec CTA at the beginning of each overlayed to check the description.
As I was writing this opening I posted my first video.

I will not give my script and for most parts, I got code pieces from the web. If you are building a similar bot I can't help with your code.
 
good luck !
Thanks
Can you share with us the bot?
I don't share my bot. It's far from done, has bugs and most of the features I want haven't been implemented. Every change I want needs to be done to the code. There is no UI.

After 15 compilations I saw there was unrelevant video so I will be implementing a process to check at least 2 hashtags are found from my predefined list. The current process is not yet automated as for some reason the code will crash when it should move compiled videos to another folder. After I manage to fix that I can start to mass-produce videos. Now I just manually move those compiled videos and descriptions away so my script can select the correct files for the next compilation.
 
My channel is starting well when getting the first copyright strike from the third video. But anyway, my bot is progressing nicely.
  • It's now headless
  • No more clipboard access so I can leave it running on locked computer
  • Checks 2 hashtags so the videos are likely to be relevant. Currently, I have 11 hashtags where it randomly selects one that it uses to find videos
  • First full run done without crashes. Now on loop and is mass-producing compilation videos. But I need it to upload also. Too much manual work if I just leave it to generate videos
  • Ability to ignore specified users. (that copy strike maker)
  • Ability to remove hashtags from the list. fyp, foryourpage and other tiktok specific
Overall I like this project and how it's progressing. Next, I need to start working with the uploading part. I don't know if I want to use the youtube api.

I'm using Moviepy to create videos. I'm not sure if I can improve that but now first I'm compiling videos together and adding text to the compiled video.
Could this be done in one go? As it renders video twice. Well, three times as I'm normalizing audio levels.

As for the published videos I got some views. No click.
For title i'm using a very generic name and adding number to it.
Added email to channel so people can contact me...
Now to upload and schedule some videos
 
It's more than fair that you don't want to share your code,
man's code is his baby.
but would you mind telling us what language are you coding with?
And if there are any libraries that helps you with the process
 
It's more than fair that you don't want to share your code,
man's code is his baby.
but would you mind telling us what language are you coding with?
And if there are any libraries that helps you with the process
I'm coding with python.

Browser emulation with selenium. Geckodriver (firefox) as i have working profile handling and proxy code for it.

Moviepy library for joining movies and adding watermark/text. I also could have premade video ads that i just join somewhere middle of compilation. Might work better than text. Something simple like showing meme shirts and linking to category page on amazon.

Sqlite for database.
 
My channel is starting well when getting the first copyright strike from the third video. But anyway, my bot is progressing nicely.
Are you getting a copyright strike or a copyright claim on your videos? There's a difference between them.
 
Are you getting a copyright strike or a copyright claim on your videos? There's a difference between them.
2 strikes and 2 videos taken down. Maybe it's easier to just do a copyright strike than to send an email and ask to remove the video.
I'm really wondering how those users found their videos so fast. Is there some kind of system that informs them if their video is found somewhere?

Otherwise statistically the first channel is doing ok. I have gotten views and a few clicks to my money page.
But I'm struggling to get my bot to upload videos. There are few options. The Youtube API is good as I could upload 5-6 per day but those videos would go private so I would need to locate the uploaded video and set it public.

I had a working upload with selenium but it was using pyautogui and that's breaking the headless system and interrupting my other work on pc.
I'm certain there are other ways to upload but haven't figured out those yet. Some kind of JSON uploading technique but didn't get it working.
 
Make automation through a web browser using zennoposter
 
2 strikes and 2 videos taken down. Maybe it's easier to just do a copyright strike than to send an email and ask to remove the video.
I'm really wondering how those users found their videos so fast. Is there some kind of system that informs them if their video is found somewhere?

Otherwise statistically the first channel is doing ok. I have gotten views and a few clicks to my money page.
But I'm struggling to get my bot to upload videos. There are few options. The Youtube API is good as I could upload 5-6 per day but those videos would go private so I would need to locate the uploaded video and set it public.

I had a working upload with selenium but it was using pyautogui and that's breaking the headless system and interrupting my other work on pc.
I'm certain there are other ways to upload but haven't figured out those yet. Some kind of JSON uploading technique but didn't get it working.
Hire a developer to create a custom bot for you.
 
To be honest I can't see any automation in ,
I suggest using any free api to scrap data from tiktok.
If you scrap 5000 links it's already enough for months, so your code will be Fetching Json > download 5 video > video editing > upload .
There is no magic
Question: what are you using to edit your video ?
 
Alright, can you share the niche now?
This was for the casino niche. 5 winning videos in 1 compilation. I managed to upload 11 videos until the channel was taken down. There are many channels that do these kind of videos but maybe they have asked or granted permission to use them. Too much money is involved here so people don't want to lose a penny. I had an affiliate account at one casino that I decided to use. Redirecting traffic from my domain to the casino.
 
To be honest I can't see any automation in ,
I suggest using any free api to scrap data from tiktok.
If you scrap 5000 links it's already enough for months, so your code will be Fetching Json > download 5 video > video editing > upload .
There is no magic
Question: what are you using to edit your video ?
I use TikTok search to find videos. I had a list of hashtags/keywords. Grapped x amount of links from the source code, started to download selected videos and then compiled those using pythons moviepy library. I then got compiled video with watermark and ready made description to just paste in to the videos description
 
I recommend ffmpeg to you. It should improve and speed up the work on compilations. Documentation: ffmpeg.org
btw interesting journey
 
This was for the casino niche. 5 winning videos in 1 compilation. I managed to upload 11 videos until the channel was taken down. There are many channels that do these kind of videos but maybe they have asked or granted permission to use them. Too much money is involved here so people don't want to lose a penny. I had an affiliate account at one casino that I decided to use. Redirecting traffic from my domain to the casino.
It seems that your videos got reported by viewers/users. It is hard to keep the channel safe.
 
I found Vrolijk's post on copyrights that that i need to seriously consider to be big problem. And that was from 2019

"Owners don't have to do a manual search anymore, now there is the copyright tab on the studio page. It shows you all vids who used your content or parts of your content an gives you options to manual remove them. No search is needed for that, so the risk to get caught is higher these days.."

So removing original sound or maybe add some sound over can help or even prevent this. But in the long run strikes can come when owner finds video.

Using the native ffmpeg gives your video more trustful meta-data and is better to use

I can try this. I think i saw this library when i was searching how to do video editing in python.
 
Back
Top