Skip to content

Commit

Permalink
test: 修改tiktok测试代理配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Apr 13, 2024
1 parent e613999 commit baa5d2d
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/format-file-name.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
"naming": "{create}_{desc}_{aweme_id}",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/one-video.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
}

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"timeout": 10,
"cookie": "YOUR_COOKIE_HERE",
}
Expand Down
4 changes: 2 additions & 2 deletions docs/snippets/tiktok/user-folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
"path": "Download",
"mode": "post",
Expand All @@ -34,7 +34,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
"path": "Download",
"mode": "post",
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-get-add.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
"path": "Download",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-like.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"timeout": 10,
"cookie": "YOUR_COOKIE_HERE",
}
Expand Down
4 changes: 2 additions & 2 deletions docs/snippets/tiktok/user-mix.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"timeout": 10,
"cookie": "YOUR_COOKIE_HERE",
}
Expand Down Expand Up @@ -43,7 +43,7 @@ async def main():
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"timeout": 10,
"cookie": "YOUR_COOKIE_HERE",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-playlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
}

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-post.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"timeout": 10,
"cookie": "YOUR_COOKIE_HERE",
}
Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/user-profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"cookie": "YOUR_COOKIE_HERE",
"proxies": {"http://": None, "https://": None},
}


Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/video-get-add.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
}

Expand Down
2 changes: 1 addition & 1 deletion docs/snippets/tiktok/xbogus.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def main():
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"Referer": "https://www.tiktok.com/",
},
"proxies": {"http": None, "https": None},
"proxies": {"http://": None, "https://": None},
"cookie": "YOUR_COOKIE_HERE",
}

Expand Down
4 changes: 2 additions & 2 deletions f2/conf/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ tiktok:
Referer: https://www.tiktok.com/
cookie: tt_csrf_token=OFxPH3PE-pSbFptiHW4iy-z4yo3u6gMDt3H0; tt_chain_token=mCH+/C/4flkJarNC1WciiQ==; ak_bmsc=91F3094B27728C66727FD8F413E3CFDA~000000000000000000000000000000~YAAQDfN0aMJLgrOOAQAAfOkFuBeR4cRsy06d9RdcxcQPWGV8lJwTK79/VYCCwvjeEtlU2mCQalUnDU1R2p6Put0FonN6gVhoG2cCdwocRl87ItHMeEQpQxAH0640eFwLYG7OBS5ydU9DUbYX3pCINlGp3AbB7wbAxQb75svv1eEALa0ba8YvA85s1ingqnpt4WmKuSeyR9LkCIg9oABnKJHbPaR2FAWA982tsSdQYIeKlsUc5nyotjtrmgDubgD+v624hs2ilwVQ61HKiCQ7P15mH0M9FL8ciGsDpTKotxZ8sG2phoylvmn0ajD8QV2YdDOegI9ss6RC79POVI5xaFnpoV8TQWLyPzdEl/E6S1TVqaqRHMJsF1De/tdQcLC9//aCKt3NZTqDGg==; tiktok_webapp_theme=light; ttwid=1%7C92fxGgEo0Z8ZDy0YLeqOnKTMHMCPieG0L8UVR1j1oI8%7C1712484381%7Ccb6cbac4d746f5a6acaf73301b34642d1358092dce19a9cb97a4adc978e9d383; odin_tt=d739e385ecc07c0682ee2c2824e464e42d6760e26ec3df8c5b4a0ed1b0bcf02fb36a3eed2a0012a70b3f8ac84a79d5278e23b2ead40ed7aaf85c8ca8b611a8f5819324df5b2ecc7e1d45725a1f5f3ed9; msToken=iA6SqoX-3ggC9aEGWcxqgX0GoRG_1z-3JA9jecj8NwngM3ivhpnl6113Xc72cEc1RhP5YXXeblbo5OOrjfH6tyqtVhD68pnoxVHFTwONHFKwxGkryp3AP2ipQ8Y4; msToken=-RWw93z8QG4ppPftuXXV0NXTs3KN74Jc-eZ7G8Yw0GOWvLoCXB4upq-lPpbKVhIOxp_wJ-hDkWHj364_BTIJUmFLhFLIOaTzgjD4tazEVOEQUBdyG3IbsEZnHxcR
proxies:
http:
https:
http://:
https://:

0 comments on commit baa5d2d

Please sign in to comment.