Python- tiktok without watermark HD video



Tiktok automatically grabs the high definition and non watermark video of the jitter tiktok based on the video link of the jitter, which facilitates the short video’s marketing and the two post creation.


Some of the codes are published here, not all of them. If you want all of them, please consult the author. The author’s blog is:
ZFJ_ Zhang Fujie[blog has my contact information]
The code is as follows:

# -*- coding: utf-8 -*-
# @Author: zhangfujie
#@ author QQ: 2723834718
# @Date:   2020-09-17 16:17:36
# @Last Modified by:   zhangfujie
# @Last Modified time: 2020-09-19 16:33:08
import re
import requests

headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/22.0.1207.1 Safari/537.1'}

def parse_douyin(url):
    r = requests.get(url, allow_redirects = True)
    redirecturl = r.url
    rct = requests.get(redirecturl, headers = headers)
    playurlList = re.findall('playAddr:(.*?)\,', str(rct.text))
    if len(playurlList) == 0:
    playurl = playurlList[0]
    playurl = playurl.replace('playwm', 'play')
    playurl = playurl.replace("\"", "")
    #Request the URL address to download
    html = requests.get(playurl)
    #Content returns bytes, which is binary data.
    html = html.content
        with open('douyin.mp4', 'wb') as f:
        Print ("download complete!!")
        Print ("download failed!!")

if __name__ == '__main__':
    url = ''
#My QQ: 2723834718

software interface

Because some programmers who are not programmers or Python programmers want to do more than just do this, I specially encapsulate the logic of downloading video into a desktop software for your convenience. The screenshot is as follows:
Python- tiktok without watermark HD video
Python- tiktok without watermark HD video
You can contact me if you need!

Recommended Today

What is “hybrid cloud”?

In this paper, we define the concept of “hybrid cloud”, explain four different cloud deployment models of hybrid cloud, and deeply analyze the industrial trend of hybrid cloud through a series of data and charts. 01 introduction Hybrid cloud is a computing environment that integrates multiple platforms and data centers. Generally speaking, hybrid cloud is […]