Access the interface and pass in the video link to get the real address of the video.
class/dl.class.php
dl.php
curl.php
Just upload the required files to the server
[Domain name]/dl.php?dy=[Douyin video link]
Passing on parameters
[Must pass] dy: Douyin author’s homepage link
For example: onAug11.cn/dl.php?dy=https://v.douyin.com/onAug11/
The dy parameter can contain text content, and the program will automatically obtain the correct link from the passed parameters.
Access the interface and pass in the author's homepage link to obtain all the author's videos in batches.
class/dl.class.php
dl.php
curl.php
Just upload the required files to the server
[Domain name]/dl.php?dy=[Douyin author homepage link]
Passing on parameters
[Must pass] dy: Douyin author’s homepage link
For example: onAug11.cn/dl.php?dy=https://v.douyin.com/onAug11/
After running the interface, the [dl/author name] folder will be created in the same path and the video will be downloaded to the folder.
By accessing the interface and passing in the author's homepage link, you can obtain changes in the author's number of followers, fans, likes, works, and likes. By setting up a scheduled task that accesses the interface once every 10 minutes, you can keep abreast of its latest changes. With Bark, you can push its latest changes to the collection. (A must for dog licking)
class/ta.class.php
ta.php
curl.php
MySql.php
douyin_ta.sql
Upload the required PHP files to the server and run the required SQL files, then modify the database information in the MySql.php file
[Domain name]/ta.php?dy=[Douyin author’s homepage link]
Passing on parameters
Pass onAug11: Automatically download, otherwise it will not download
If used, you need to upload class/dl.php and dl.php files
Pass 0: The author prefers not to push the data if it changes, otherwise it will be pushed normally.
Pass 0: If the author’s work data changes, it will not be pushed, otherwise it will be pushed normally.
Pass 0: If the author's like data changes, it will not be pushed, otherwise it will be pushed normally.
Pass 0: If the author’s fan data changes, it will not be pushed, otherwise it will be pushed normally.
Pass 0: The author is interested in not pushing the data if it changes, otherwise it will be pushed normally.
After being passed to the server, when the author's data changes, it will be pushed to the iPhone through Bark, otherwise it will not be pushed.
[Must pass] dy: Douyin author’s homepage link
[Not required] server: Bark server address
[Not required] gz: Follow number switch, the server parameter needs to be passed in to be effective.
[Not required] fs: Fan count switch, the server parameter needs to be passed in to be effective.
[Not required]hz: Like number switch, the server parameter needs to be passed in to be effective.
[Not required] zp: Switch on the number of works. The server parameter needs to be passed in to be effective.
[Not required]xh: Like count switch, the server parameter needs to be passed in to be effective.
[Not required] key: Automatically download the author's latest watermark-free video switch
For example: onAug11.cn/ta.php?dy=https://v.douyin.com/1234567/
Bark is an APP on the iPhone that provides an http interface and you can send push notifications to your iPhone with a simple call. Click here to install Bark
This interface is only used for PHP learning, please do not use it for other purposes.