Johnserf-Seed / TikTokDownload

抖音去水印批量下载用户主页作品、喜欢、收藏、图文、音频
https://github.com/Johnserf-Seed/f2
MIT License
6.71k stars 1.28k forks source link

请教一下tk的代理要怎么设置 我是用v2rayn的 本地代理不知道去哪里设置 #708

Open fungchunhoeasy opened 6 months ago

fungchunhoeasy commented 6 months ago

我下载tk 代理填写在conf.yaml的文件夹显示一串错误 然后直接用-P指令提示Error: Option '-P' requires 2 arguments. 我是用r2rayN的 端口是10808 我填写http://127.0.0.1:10808 好像不行 系统代理是10809

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@yul__1222 -P http://127.0.0.1:10808 https://127.0.0.1:10810 INFO App: tiktok INFO 主配置路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\Administrator\tk.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 请求端点失败,请检查当前网络环境。

链接:https://mssdk-sg.tiktok.com/web/common?msToken=1Ab-7YxR9lUHSem0PraI_XzdKmpHb6j50L8AaXLAd2aWTdoJCYLfX_67rV QFE4UwwHVHmyG_NfIipqrlLT3kCXps-5PYlNAqtdwEg7TrDyTAfCKyBrOLmhMUjB55oW8SPZ4_EkNxNFUdV7MquA==,代理:{'http://': None, 'https://': None},异常类名:TokenManager,异常详细信息:timed out

Johnserf-Seed commented 6 months ago
fungchunhoeasy commented 6 months ago

我只是在tk用 dy这里也要填写吗

Johnserf-Seed commented 6 months ago

我只是在tk用 dy这里也要填写吗

举例

fungchunhoeasy commented 6 months ago

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@nv_yxvh1 INFO App: tiktok Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts\f2.exe__main.py", line 7, in File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1157, in call return self.main(*args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1434, in invoke return ctx.invoke(self.callback, ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 783, in invoke return callback(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func return f(get_current_context(), args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\apps\tiktok\cli.py", line 345, in tiktok "http": f2_proxies.get("http"), ^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'get'

fungchunhoeasy commented 6 months ago
proxies:
  http:http://127.0.0.1:10808
  https:http://127.0.0.1:10808
fungchunhoeasy commented 6 months ago

cover: null desc: null folderize: null interval: all languages: null max_connections: 5 max_counts: 0 max_retries: 5 maxtasks: 10 mode: post music: null naming: '{create}{desc}' page_counts: 20 path: F:\xxz timeout: 10 url: null

Johnserf-Seed commented 6 months ago
proxies:
  http:http://127.0.0.1:10808
  https:http://127.0.0.1:10808

去百度yaml格式,没有空格是错误的

fungchunhoeasy commented 6 months ago

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@nv_yxvh1 INFO App: tiktok INFO 主配置路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\Administrator\tk.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 未在响应中找到 sec_uid,检查链接是否为用户主页。类名: SecUserIdFetcher

fungchunhoeasy commented 6 months ago

是我的cookie有问题还是我复制的链接主页有问题啊

Johnserf-Seed commented 6 months ago

代理有问题

fungchunhoeasy commented 6 months ago

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@nv_yxvh1 INFO App: tiktok INFO 主配置路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\Administrator\tk.yaml INFO Version 0.0.1.5 WARNING 第 1 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1714058403&aid=1988&app_language=zh-Hans&app_name= tiktok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_versi on=5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%2 0Chrome%2F119.0.0.0%20Safari%2F537.36&channel=tiktok_web&cookie_enabled=true&device_id=7306060721837852167&devi ce_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&langu age=zh-Hans&os=windows&priority_region=&referer=&region=SG&rootreferer=https%3A%2F%2Fwww.tiktok.com%2F&screen height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%2FHong_Kong&msToken=xkTaEDe_jgY4KuBdI91hFyD y03O2-wwiWS_zHmcVzWi-0W_RxqneiopafJP8C47_ZVC_dwWLWI4ClDxIuLiuS3dh7svEe22iFPScQx0fyBUZqGkf4zEHg64vOo5Z2eEKiDPWsH wLfsOXz4SYwg==&coverFormat=2&count=20&cursor=0&secUid=MS4wLjABAAAAnAm5YEH5prVNKjNZuYdQkS7QkQ8DGpBq4D9E-mCX274Kv 9vyvbYSOk3YSvDSgszD&X-Bogus=DFSzswVYoFsANHT3t2cjnl9WX7JZ exiting f2...

fungchunhoeasy commented 6 months ago

代理应该没有问题的 我换了几次端口 这个算是通了吧。。

fungchunhoeasy commented 6 months ago

代理有问题

我试过还是不行 代理端口填写正确还是反复出现上面发过的3个错误

fungchunhoeasy commented 6 months ago

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@cai.112314 INFO App: tiktok INFO 主配置路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\Administrator\tk.yaml INFO Version 0.0.1.5 WARNING 第 1 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/user/detail/?WebIdLastTime=1714548817&aid=1988&app_language=zh-Hans&app_name=tik tok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version= 5.0%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KHTML %252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabled= true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_full screen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=&region=SG&root_referer= https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=A sia%252FHong_Kong&msToken=Ck7WBeRcDAcx3c3bWO8lgADgO_c0EFKJczraIbgSyPOz2bU_2xjACGLbZZhjTp9uh8VRxlUNG2hDsaKlo5Lmz dXfrz7B87SZYJz1iPAv69CpQ0bvZGLt2rfTK9_5Ua3v7NLmRCitgj9Bo7pYRQ==&secUid=MS4wLjABAAAA5KtPEGtkzLfvsTcizh-CAmPLONIT ShauFf2sMMqQSxi0Tln3nECKnXWAjnxi0PQd&uniqueId=&X-Bogus=DFSzswVYAPUANHT3tR6y%2Fe9WX7nM WARNING 第 2 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/user/detail/?WebIdLastTime=1714548817&aid=1988&app_language=zh-Hans&app_name=tik tok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version= 5.0%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KHTML %252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabled= true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_full screen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=&region=SG&root_referer= https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=A sia%252FHong_Kong&msToken=Ck7WBeRcDAcx3c3bWO8lgADgO_c0EFKJczraIbgSyPOz2bU_2xjACGLbZZhjTp9uh8VRxlUNG2hDsaKlo5Lmz dXfrz7B87SZYJz1iPAv69CpQ0bvZGLt2rfTK9_5Ua3v7NLmRCitgj9Bo7pYRQ==&secUid=MS4wLjABAAAA5KtPEGtkzLfvsTcizh-CAmPLONIT ShauFf2sMMqQSxi0Tln3nECKnXWAjnxi0PQd&uniqueId=&X-Bogus=DFSzswVYAPUANHT3tR6y%2Fe9WX7nM

xiaoshumiao6 commented 6 months ago

python TikTokTool.py -u "https://www.tiktok.com/@jzb19700dqs" -M post -i all -m true -v true -d true -f true --auto-cookie chrome --proxies http://127.0.0.1:58080 http://127.0.0.1:58080 1.Douyin 2.TikTok: [1/2]: 2 是否要使用命令行的参数更新配置文件?/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml [Y/n]: y 配置文件已更新! INFO 主配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml
INFO 自定义配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml
INFO Version 0.0.1.5
请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 未在响应中找到 sec_uid,检查链接是否为用户主页。类名: SecUserIdFetcher

我貌似也也到代理的问题了, 大佬解决了嘛

xiaoshumiao6 commented 6 months ago

打印了一部分配置, 感觉proxy 是读取到了的

tiktok_webapp_theme=light; last_login_method=email', 'max_connections': 5, 'max_counts': 0, 'max_retries': 5, 'max_tasks': 5, 'naming': '{create}_{desc}', 'page_counts': 5, 'path': 'Download', 'timeout': 10, 'proxies': {'http': 'http://127.0.0.1:58080', 'https': 'http://127.0.0.1:58080'}, 'mode': 'post', 'url': 'https://www.tiktok.com/@cai.112314', 'music': None, 'cover': None, 'desc': None, 'folderize': None, 'interval': None, 'languages': 'zh_CN', 'auto_cookie': None, 'headers': {'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/'}} INFO 主配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml INFO 自定义配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/app.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 未在响应中找到 sec_uid,检查链接是否为用户主页。类名: SecUserIdFetcher

Johnserf-Seed commented 6 months ago

python TikTokTool.py -u "https://www.tiktok.com/@jzb19700dqs" -M post -i all -m true -v true -d true -f true --auto-cookie chrome --proxies http://127.0.0.1:58080 http://127.0.0.1:58080 1.Douyin 2.TikTok: [1/2]: 2 是否要使用命令行的参数更新配置文件?/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml [Y/n]: y 配置文件已更新! INFO 主配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml INFO 自定义配置路径:/home/super/Documents/pythonworkspace/TikTokDownload/venv/lib/python3.10/site-packages/f2/conf/app.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 未在响应中找到 sec_uid,检查链接是否为用户主页。类名: SecUserIdFetcher

我貌似也也到代理的问题了, 大佬解决了嘛

image 一切正常,出问题的话检查一下代理或者换一个可靠性高的

fungchunhoeasy commented 6 months ago

PS C:\Users\Administrator> f2 tk -c C:\Users\Administrator\tk.yaml -u https://www.tiktok.com/@natashapeng INFO App: tiktok INFO 主配置路径:C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\Administrator\tk.yaml INFO Version 0.0.1.5 WARNING 第 1 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1715354582&aid=1988&app_language=zh-Hans&app_name= tiktok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_versi on=5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%2 0Chrome%2F119.0.0.0%20Safari%2F537.36&channel=tiktok_web&cookie_enabled=true&device_id=7306060721837852167&devi ce_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&langu age=zh-Hans&os=windows&priority_region=&referer=&region=SG&rootreferer=https%3A%2F%2Fwww.tiktok.com%2F&screen height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%2FHong_Kong&msToken=LX76MEnQ-ICn-04hsmKp5Bc 7CPIh2PlRyY5PenbyFZpsjVW_uChYWjEx-pN6Za8b89D6Lb0HXOi7LRNDYg-ZZMnPVQ4p14INVsln35AzYJ-3Z3pBwAShpmsxPkOMOvrjG5GME KFlBvGs4JVyQ==&coverFormat=2&count=10&cursor=0&secUid=MS4wLjABAAAA-gslotUiwwpVXM8rnhOmuucvSww3cJ-wR_HWkQ-m71oZ U9q9mxccpoo5R6L-zdN&X-Bogus=DFSzswVYKCtANHT3tRPeNl9WX7rS WARNING 第 2 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1715354582&aid=1988&app_language=zh-Hans&app_name= tiktok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_versi on=5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%2 0Chrome%2F119.0.0.0%20Safari%2F537.36&channel=tiktok_web&cookie_enabled=true&device_id=7306060721837852167&devi ce_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&langu age=zh-Hans&os=windows&priority_region=&referer=&region=SG&rootreferer=https%3A%2F%2Fwww.tiktok.com%2F&screen height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%2FHong_Kong&msToken=LX76MEnQ-ICn-04hsmKp5Bc 7CPIh2PlRyY5PenbyFZpsjVW_uChYWjEx-pN6Za8b89D6Lb0HXOi7LRNDYg-ZZMnPVQ4p14INVsln35AzYJ-3Z3pBwAShpmsxPkOMOvrjG5GME KFlBvGs4JVyQ==&coverFormat=2&count=10&cursor=0&secUid=MS4wLjABAAAA-gslotUiwwpVXM8rnhOmuucvSww3cJ-wR_HWkQ-m71oZ U9q9mxccpoo5R6L-zdN&X-Bogus=DFSzswVYKCtANHT3tRPeNl9WX7rS WARNING 第 3 次响应内容为空, 状态码: 200, URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1715354582&aid=1988&app_language=zh-Hans&app_name= tiktok_web&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_versi on=5.0%20%28Windows%20NT%2010.0%3B%20Win64%3B%20x64%29%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%29%2 0Chrome%2F119.0.0.0%20Safari%2F537.36&channel=tiktok_web&cookie_enabled=true&device_id=7306060721837852167&devi ce_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&langu age=zh-Hans&os=windows&priority_region=&referer=&region=SG&rootreferer=https%3A%2F%2Fwww.tiktok.com%2F&screen height=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%2FHong_Kong&msToken=LX76MEnQ-ICn-04hsmKp5Bc 7CPIh2PlRyY5PenbyFZpsjVW_uChYWjEx-pN6Za8b89D6Lb0HXOi7LRNDYg-ZZMnPVQ4p14INVsln35AzYJ-3Z3pBwAShpmsxPkOMOvrjG5GME KFlBvGs4JVyQ==&coverFormat=2&count=10&cursor=0&secUid=MS4wLjABAAAA-gslotUiwwpVXM8rnhOmuucvSww3cJ-wR_HWkQ-m71oZ U9q9mxccpoo5R6L-zdN&X-Bogus=DFSzswVYKCtANHT3tRPeNl9WX7rS

fungchunhoeasy commented 6 months ago

不知道是哪个设置出问题 求指导啊 节点肯定没问题

fungchunhoeasy commented 6 months ago

ERROR HTTP状态错误, 尝试GET请求失败: https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oEfPaDaQfBBio0BIQEJTzBAwEcWg6lU5B ER4i7/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2880&bt=1440&cs=0&ds=6&f t=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=NzdlOTNmPDk3OjQzNDdoZkBpajczaG05cmc5cTMzODczNEBe NjReYl9fNWExYGAtY2NeYSMtZmFiMmRjanBgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434505&l=20240511073458E97316472 E11DF2079B0&ply_type=2&policy=2&signature=b25b5a5be45a8070b730e75b68f62a47&tk=tt_chain_token, 错误详情: Client error '403 Forbidden' for url 'https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oEfPaDaQfBBio0BIQEJTzBAwEcWg6lU5 BER4i7/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2880&bt=1440&cs=0&ds=6& ft=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=NzdlOTNmPDk3OjQzNDdoZkBpajczaG05cmc5cTMzODczNEB eNjReYl9fNWExYGAtY2NeYSMtZmFiMmRjanBgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434505&l=20240511073458E9731647 2E11DF2079B0&ply_type=2&policy=2&signature=b25b5a5be45a8070b730e75b68f62a47&tk=tt_chain_token' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 WARNING 链接 https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/oEfPaDaQfBBio0BIQEJTzBAwEcWg6lU5B ER4i7/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2880&bt=1440&cs=0&ds=6&f t=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=NzdlOTNmPDk3OjQzNDdoZkBpajczaG05cmc5cTMzODczNEBe NjReYl9fNWExYGAtY2NeYSMtZmFiMmRjanBgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434505&l=20240511073458E97316472 E11DF2079B0&ply_type=2&policy=2&signature=b25b5a5be45a8070b730e75b68f62a47&tk=tt_chain_token 内容长度为0,尝试下一个链接是否可用 WARNING 所有链接都无法下载 ERROR HTTP状态错误, 尝试GET请求失败: https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/owflMAR3EDBel1QiJoiFUIN2BsWgEgB9t vNQXA/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2252&bt=1126&cs=0&ds=6&f t=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo0Zjg6PGQ3OTw6MzczOUBpM2lucnc5cmR0cTMzODczNEBf XmNeMl8yNS0xYDAtMi81YSNqLjFfMmRjMm5gLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434504&l=20240511073458E97316472 E11DF2079B0&ply_type=2&policy=2&signature=863ec5eaea62df36a0fe068e87c99fef&tk=tt_chain_token, 错误详情: Client error '403 Forbidden' for url 'https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/owflMAR3EDBel1QiJoiFUIN2BsWgEgB9 tvNQXA/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2252&bt=1126&cs=0&ds=6& ft=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo0Zjg6PGQ3OTw6MzczOUBpM2lucnc5cmR0cTMzODczNEB fXmNeMl8yNS0xYDAtMi81YSNqLjFfMmRjMm5gLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434504&l=20240511073458E9731647 2E11DF2079B0&ply_type=2&policy=2&signature=863ec5eaea62df36a0fe068e87c99fef&tk=tt_chain_token' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 WARNING 链接 https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/owflMAR3EDBel1QiJoiFUIN2BsWgEgB9t vNQXA/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2252&bt=1126&cs=0&ds=6&f t=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo0Zjg6PGQ3OTw6MzczOUBpM2lucnc5cmR0cTMzODczNEBf XmNeMl8yNS0xYDAtMi81YSNqLjFfMmRjMm5gLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434504&l=20240511073458E97316472 E11DF2079B0&ply_type=2&policy=2&signature=863ec5eaea62df36a0fe068e87c99fef&tk=tt_chain_token 内容长度为0,尝试下一个链接是否可用 WARNING 所有链接都无法下载 ERROR HTTP状态错误, 尝试GET请求失败: https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/okTEgm5IpfFmBtltAFJyEkE0kDu0fkA0R LBnXQ/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=1182&bt=591&cs=0&ds=6&ft =4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=aTszaDw6OjZnaDc4O2k2aUBpam53O3E5cnY8cTMzODczNEAwM jAyM2ItNWAxMWE1XmAwYSNqNDBeMmRrZ2ZgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434508&l=20240511073458E97316472E 11DF2079B0&ply_type=2&policy=2&signature=63448b3f38db621627e8a6dc4124e7fc&tk=tt_chain_token, 错误详情: Client error '403 Forbidden' for url 'https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/okTEgm5IpfFmBtltAFJyEkE0kDu0fkA0 RLBnXQ/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=1182&bt=591&cs=0&ds=6&f t=4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=aTszaDw6OjZnaDc4O2k2aUBpam53O3E5cnY8cTMzODczNEAw MjAyM2ItNWAxMWE1XmAwYSNqNDBeMmRrZ2ZgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434508&l=20240511073458E97316472 E11DF2079B0&ply_type=2&policy=2&signature=63448b3f38db621627e8a6dc4124e7fc&tk=tt_chain_token' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403 WARNING 链接 https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/tos-alisg-pve-0037c001/okTEgm5IpfFmBtltAFJyEkE0kDu0fkA0R LBnXQ/?a=1988&bti=ODszNWYuMDE6&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=1182&bt=591&cs=0&ds=6&ft =4KJMyMzm8Zmo09pqn-4jVK_ZdpWrKsd.&mime_type=video_mp4&qs=0&rc=aTszaDw6OjZnaDc4O2k2aUBpam53O3E5cnY8cTMzODczNEAwM jAyM2ItNWAxMWE1XmAwYSNqNDBeMmRrZ2ZgLS1kMS1zcw%3D%3D&btag=e00088000&expire=1715434508&l=20240511073458E97316472E 11DF2079B0&ply_type=2&policy=2&signature=63448b3f38db621627e8a6dc4124e7fc&tk=tt_chain_token 内容长度为0,尝试下一个链接是否可用 WARNING 所有链接都无法下载

fungchunhoeasy commented 6 months ago

网页登录没有问题啊 每个不同地区的环境都尝试过 是我的软件的问题吗?

arvinws commented 6 months ago

我也遇到代理相关的问题,可以正常打开tiktok,求大佬指定 INFO App: tiktok INFO 主配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 请求端点失败,请检查当前网络环境。 链接:https://mssdk-sg.tiktok.com/web/common?msToken=1Ab-7YxR9lUHSem0PraI_XzdKmpHb6j50L8AaXLAd2aWTdoJCYLfX_67r VQFE4UwwHVHmyG_NfIipqrlLT3kCXps-5PYlNAqtdwEg7TrDyTAfCKyBrOLmhMUjB55oW8SPZ4_EkNxNFUdV7MquA==,代理:{'http://': 'http://127.0.0.1:10809', 'https://': 'https://127.0.0.1:10809'},异常类名:TokenManager,异常详细信息:[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

Johnserf-Seed commented 6 months ago

我也遇到代理相关的问题,可以正常打开tiktok,求大佬指定 INFO App: tiktok INFO 主配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 请求端点失败,请检查当前网络环境。 链接:https://mssdk-sg.tiktok.com/web/common?msToken=1Ab-7YxR9lUHSem0PraI_XzdKmpHb6j50L8AaXLAd2aWTdoJCYLfX_67r VQFE4UwwHVHmyG_NfIipqrlLT3kCXps-5PYlNAqtdwEg7TrDyTAfCKyBrOLmhMUjB55oW8SPZ4_EkNxNFUdV7MquA==,代理:{'http://': 'http://127.0.0.1:10809', 'https://': 'https://127.0.0.1:10809'},异常类名:TokenManager,异常详细信息:[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

在代理配置中https是出口协议,你需要把它与http的配置同步,也就是两个地方都设置为http://127.0.0.1:10809

arvinws commented 5 months ago

我也遇到代理相关的问题,可以正常打开tiktok,求大佬指定 INFO App: tiktok INFO 主配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO 自定义配置路径:C:\Users\admin\Downloads\TikTokDownload-1.5\venv\Lib\site-packages\f2\conf\app.yaml INFO Version 0.0.1.5 请前往QA文档 https://johnserf-seed.github.io/f2/question-answer/qa.html 查看相关帮助 ERROR 请求端点失败,请检查当前网络环境。 链接:https://mssdk-sg.tiktok.com/web/common?msToken=1Ab-7YxR9lUHSem0PraI_XzdKmpHb6j50L8AaXLAd2aWTdoJCYLfX_67r VQFE4UwwHVHmyG_NfIipqrlLT3kCXps-5PYlNAqtdwEg7TrDyTAfCKyBrOLmhMUjB55oW8SPZ4_EkNxNFUdV7MquA==,代理:{'http://': 'http://127.0.0.1:10809', 'https://': '[https://127.0.0.1:10809'},异常类名:TokenManager,异常详细信息:[SSL](https://127.0.0.1:10809'%7D%EF%BC%8C%E5%BC%82%E5%B8%B8%E7%B1%BB%E5%90%8D%EF%BC%9ATokenManager%EF%BC%8C%E5%BC%82%E5%B8%B8%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF%EF%BC%9A%5BSSL): UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1000)

在代理配置中https是出口协议,你需要把它与http的配置同步,也就是两个地方都设置为http://127.0.0.1:10809

改完了还是一样的错误。 image image