mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-06 00:40:43 +08:00
docs(readme): 更新文档
This commit is contained in:
parent
8ce13c0d72
commit
0314e2520d
36
README.md
36
README.md
@ -249,24 +249,24 @@ python TikTokCommand.py -h
|
||||
|
||||
```
|
||||
windows用户:
|
||||
.\TikTokCommand.exe -C True \
|
||||
-l https://live.douyin.com/759547612580 \
|
||||
-l https://v.douyin.com/BugmVVD/ \
|
||||
-l https://v.douyin.com/BugrFTN/ \
|
||||
-l https://v.douyin.com/B72pdU5/ \
|
||||
-l https://v.douyin.com/B72QgDw/ \
|
||||
-l https://v.douyin.com/AJp8D3f/ \
|
||||
-l https://v.douyin.com/B38oovu/ \
|
||||
-l https://v.douyin.com/S6YMNXs/ \
|
||||
-p /path/to/downdir \
|
||||
-M post \
|
||||
-M like \
|
||||
-M mix \
|
||||
--postnumber 5 \
|
||||
--likenumber 5 \
|
||||
--allmixnumber 1 \
|
||||
--mixnumber 5 \
|
||||
--musicnumber 5 \
|
||||
.\TikTokCommand.exe -C True `
|
||||
-l https://live.douyin.com/759547612580 `
|
||||
-l https://v.douyin.com/BugmVVD/ `
|
||||
-l https://v.douyin.com/BugrFTN/ `
|
||||
-l https://v.douyin.com/B72pdU5/ `
|
||||
-l https://v.douyin.com/B72QgDw/ `
|
||||
-l https://v.douyin.com/AJp8D3f/ `
|
||||
-l https://v.douyin.com/B38oovu/ `
|
||||
-l https://v.douyin.com/S6YMNXs/ `
|
||||
-p /path/to/downdir `
|
||||
-M post `
|
||||
-M like `
|
||||
-M mix `
|
||||
--postnumber 5 `
|
||||
--likenumber 5 `
|
||||
--allmixnumber 1 `
|
||||
--mixnumber 5 `
|
||||
--musicnumber 5 `
|
||||
--cookie "msToken=xxx; ttwid=xxx; odin_tt=xxx; passport_csrf_token=xxx; sid_guard=xxx;"
|
||||
|
||||
linux与mac用户:
|
||||
|
@ -42,7 +42,7 @@ class Utils(object):
|
||||
替换非法字符,缩短字符长度,使其能成为文件名
|
||||
"""
|
||||
# 匹配 汉字 字母 数字 空格
|
||||
match = "([0-9A-Za-z\u4e00-\u9fa5]+)"
|
||||
match = "([0-9A-Za-z\u4e00-\u9fa5 #_-]+)"
|
||||
|
||||
result = re.findall(match, filenamestr)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user