Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API for non watermark video to video_info #12

Open
Evil0ctal opened this issue Dec 31, 2021 · 6 comments
Open

Add API for non watermark video to video_info #12

Evil0ctal opened this issue Dec 31, 2021 · 6 comments

Comments

@Evil0ctal
Copy link

Is that passbile to add this website as one of the API?
Link: https://ttvideodownload.com/
It has no water mark video link

@krypton-byte
Copy link
Owner

Nope, there is a signature or token or something like that. If you can scrap that website, you can pull requests at this repo.

@Evil0ctal
Copy link
Author

Yeah, I saw that too, Im trying to use selenium to scrape it and deploy on heroku. I will make an API when i done.

@Evil0ctal
Copy link
Author

The website has a limit for the request per day by per IP, so won't be able to use it as API, or need to use proxy to scrape it.

Here is a short code for scrape:

import time
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
from webdriver_manager.chrome import ChromeDriverManager

def get_video_info(link):
api_url = "https://ttvideodownload.com/"
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
driver.get(api_url)
# Find input box
search_box = driver.find_element(By.CLASS_NAME, "form-control")
search_box.send_keys(tiktok_link)
time.sleep(3)
# Find submit button
search_button = driver.find_element(By.CLASS_NAME, "mb-hidden")
search_button.click()
print(driver.get_log('browser'))
time.sleep(10)

if name == 'main':
tiktok_link = "https://www.tiktok.com/@hoodvineunrated/video/7039805708220501294"
get_video_info(tiktok_link)

@thucngv
Copy link

thucngv commented Feb 22, 2022

I have demo tiktok original api to get video url without watermark, please refer to the following repository
https://github.com/thucngv/tiktok-downloader

@ZefianAlfian
Copy link

I have demo tiktok original api to get video url without watermark, please refer to the following repository https://github.com/thucngv/tiktok-downloader

404 not found

@Evil0ctal
Copy link
Author

I have demo tiktok original api to get video url without watermark, please refer to the following repository https://github.com/thucngv/tiktok-downloader

404 not found

Try my repo:
https://github.com/Evil0ctal/Douyin_TikTok_Download_API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants