justmeseo
Power Member
- Nov 16, 2017
- 646
- 451
Hey everyone, (I'm not selling anything, I'm not advertising anything, this is my own personal research that I wanted to share with you all)
One more time I'm here with one of my crazy ideas, so recently I decided to scrape some Tik-tok videos for a new youtube journey that I want to start (btw I'm keeping away from music videos since they get easily copy strikes). So I went into my dear friend google, and I started researching:
Day 1 findings: (FAILED)
I used selenium to create a bot scraper for Tiktok, I totally failed, Tiktok has some advance technology protecting their front end as well as back-end network packages.
Day 2 findings: (FAILED)
I decided to try a different way of scraping it, unfortunately it didnt work, I also found out that Tiktok uses four plus servers to host their videos, the mp4 links are protected by their walls of <divs> and other crappery. their robot.txt somehow blocks every single scraper that I have used.
Day 3 findings: (WIN)
I found a git that allows the download of individual videos (1 by 1), the good thing is that the videos download without watermark, the bad thing is that you can only do 1 by one, no bulk download no bulk watermark helper, I found another git, but unfortunately they use a online web server that deals with videos through their own personal API (which I believe they change everyday due to getting banned for too many video downloads)
Day 4 findings: (Failed)
I decided to not use any of those, since I dont want to depend on a website that could go down tomorrow, due to their api, nor use somebody elses code, so I decided that I would start coding my own scraper no matter what.
Day 5 findings: (Winner Winner Chicken Dinner):
I found a way of scraping TikTok, I can scrape up to 256 videos in around 4 minutes without touching my keyboard or mouse. I have also developed a simple python script that removes the watermark from the video.
Day 6 findings: (nice ride) (Scraping by PROFILES and TAGS)
I can now scrape in bulk, download in bulk, and I'm improving my own personal script to remove the watermarks in bulk...
Next Week:
I'm planning to attach both of my scripts, with my adobe after effects plugins in order to automate the creation of videos with a limit video time of 5 minutes, meaning that I could create up to 80 videos of 5minutes each in 10 minutes ready to be uploaded to youtube.
I hope TIKTOK doesnt get mad with me, but this bastards really made it hard for us to scrape their site.
SPOILER
One more time I'm here with one of my crazy ideas, so recently I decided to scrape some Tik-tok videos for a new youtube journey that I want to start (btw I'm keeping away from music videos since they get easily copy strikes). So I went into my dear friend google, and I started researching:
Day 1 findings: (FAILED)
I used selenium to create a bot scraper for Tiktok, I totally failed, Tiktok has some advance technology protecting their front end as well as back-end network packages.
Day 2 findings: (FAILED)
I decided to try a different way of scraping it, unfortunately it didnt work, I also found out that Tiktok uses four plus servers to host their videos, the mp4 links are protected by their walls of <divs> and other crappery. their robot.txt somehow blocks every single scraper that I have used.
Day 3 findings: (WIN)
I found a git that allows the download of individual videos (1 by 1), the good thing is that the videos download without watermark, the bad thing is that you can only do 1 by one, no bulk download no bulk watermark helper, I found another git, but unfortunately they use a online web server that deals with videos through their own personal API (which I believe they change everyday due to getting banned for too many video downloads)
Day 4 findings: (Failed)
I decided to not use any of those, since I dont want to depend on a website that could go down tomorrow, due to their api, nor use somebody elses code, so I decided that I would start coding my own scraper no matter what.
Day 5 findings: (Winner Winner Chicken Dinner):
I found a way of scraping TikTok, I can scrape up to 256 videos in around 4 minutes without touching my keyboard or mouse. I have also developed a simple python script that removes the watermark from the video.
Day 6 findings: (nice ride) (Scraping by PROFILES and TAGS)
I can now scrape in bulk, download in bulk, and I'm improving my own personal script to remove the watermarks in bulk...
Next Week:
I'm planning to attach both of my scripts, with my adobe after effects plugins in order to automate the creation of videos with a limit video time of 5 minutes, meaning that I could create up to 80 videos of 5minutes each in 10 minutes ready to be uploaded to youtube.
I hope TIKTOK doesnt get mad with me, but this bastards really made it hard for us to scrape their site.
SPOILER
Quick Test (on my script I can select how many videos I wish to scrape from a profile or Tag) [In this case I just scraped few.]
256 videos in 4 minutes.
256 videos in 4 minutes.
Last edited: