mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-22 08:20:54 +08:00
⚠️ 暂时关闭MP4/MP3下载API
This commit is contained in:
parent
d489575419
commit
3aa18ff61b
10
README.md
10
README.md
@ -15,7 +15,7 @@ Language: [[English](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/bl
|
||||
|
||||
🚀演示地址:[https://douyin.wtf/](https://douyin.wtf/)
|
||||
|
||||
🛰API演示:[https://api.douyin.wtf/](https://api.douyin.wtf/)
|
||||
🛰API演示:[https://api.douyin.wtf/](https://api.douyin.wtf/) (因恶意使用暂时关闭/video和/music这两个API,在我没想到更好的解决方法之前请手动保存视频文件。)
|
||||
|
||||
💾iOS快捷指令: [点击获取指令](https://www.icloud.com/shortcuts/38df6ca6f54840e5af80b98bf52b9c3b) 更新于2022/04/06
|
||||
|
||||
@ -84,16 +84,18 @@ python3 web_api.py
|
||||
|
||||
- 调用解析库
|
||||
|
||||
```text
|
||||
```python
|
||||
# 将scraper.py拷贝至你的项目目录(测试过的Python版本为3.8)
|
||||
# 在该项目中导入scraper.py
|
||||
from scraper import Scraper
|
||||
api = Scraper()
|
||||
# 解析Douyin视频/图集(返回字典)
|
||||
# 解析Douyin视频/图集
|
||||
douyin_data = api.douyin('抖音分享口令/链接')
|
||||
# 返回字典
|
||||
print(douyin_data)
|
||||
# 解析TikTok视频/图集(返回字典)
|
||||
# 解析TikTok视频/图集
|
||||
tiktok_data = api.tiktok('TikTok分享口令/链接')
|
||||
# 返回字典
|
||||
print(tiktok_data)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user