Comments (27)
你需要确保代理可以正常访问tiktok,请使用tiktok允许地区的代理。
from f2.
代理肯定是没问题的,刷tiktok都可以
你可以尝试访问这个链接,如果打得开就没有问题
from f2.
切换了美、日、新加坡、加拿大、英国、巴西、德国
都是报错404
是不是这个检查端点的连接有问题,自带的文件conf.yaml里面tiktok的msToken下的内容
需要post请求,你需要用api测试工具
from f2.
我测试了,是正常的
from f2.
我用postman测试也能访问,用命令行f2就不好使
f2 tk -M one -u https://www.tiktok.com/@vietwhhore/video/7220605899159784747 -c conf/app.yaml
你试试能下载下来吗
好的,我现在不在电脑前,晚点测试一下,我打包发布之前测试了都是ok的。
from f2.
测试过了是正常的,还是和网络环境有关系。不过handler模块中有个bug修复了
from f2.
能把你的配置发我一份吗?是不是我配置的有问题呀,我切了n个节点,在家在公司都不行,网络指定是没问题,我猜肯定是哪配置出问题了
使用--init-config
初始化配置文件,然后把代理配置到conf.yaml再尝试看看。
from f2.
放弃了,放弃了,搞不定了😶🌫️
from f2.
期待后续出视频教程我在搞吧
from f2.
放弃了,放弃了,搞不定了😶🌫️
我测试的时候只有1次出现了这个连接失败,所以还是代理网络的问题,你可以换一家代理
from f2.
那这就很奇怪了,因为我捕获的是httpx.RequestError,只有当网络存在问题才会抛出这个异常。我这边测试了一下午就出现1次,平时基本上也很少会出现连接失败的报错。
from f2.
为了获取更详细的报错,你可以修改f2\apps\tiktok\utils.py
的87-93行的代码,如上图所示。重新运行后查看详细错误内容再反馈。
from f2.
python 3.11.4 详细原因:EOF occurred in violation of protocol (_ssl.c:1002).
python 3.11.1 详细原因:EOF occurred in violation of protocol (_ssl.c:992).
是不是python缺少环境呀,我python安装完直接 pip install f2 剩下什么都没安,我用这俩错误码搜好像都说证书或者SSL的问题
from f2.
我知道问题是什么了,你的https
代理配置不要用https://
用http://
。因为你本地的urllib3
版本非最新的关系,不支持https
的入口协议。
from f2.
from f2.
还是有问题
Microsoft Windows [版本 10.0.22631.3155]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Lee>f2 tk -M one -u https://www.tiktok.com/@vietwhhore/video/7220605899159784747 -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yaml
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python311\Scripts\f2.exe_main.py", line 7, in
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\cli.py", line 469, in tiktok
ctx.invoke(set_cli_config, **kwargs)
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 135, in set_cli_config
asyncio.run(run_app(kwargs))
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 143, in run_app
await app_module.main(kwargs)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 665, in main
await mode_function_mapmode
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 234, in handler_one_video
await self.get_or_add_video_data(aweme_data, vdb)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 137, in get_or_add_video_data
local_video_data = await db.get_video_info(aweme_data.get("aweme_id", None))
^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'get_video_info'
C:\Users\Lee>f2 tk -M one -u https://www.tiktok.com/@vietwhhore/video/7220605899159784747 -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yaml
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python311\Scripts\f2.exe_main.py", line 7, in
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\cli.py", line 469, in tiktok
ctx.invoke(set_cli_config, **kwargs)
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 135, in set_cli_config
asyncio.run(run_app(kwargs))
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 143, in run_app
await app_module.main(kwargs)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 665, in main
await mode_function_mapmode
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 234, in handler_one_video
await self.get_or_add_video_data(aweme_data, vdb)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 137, in get_or_add_video_data
local_video_data = await db.get_video_info(aweme_data.get("aweme_id", None))
^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'get_video_info'
C:\Users\Lee>f2 tk -M post -i all -u https://www.tiktok.com/@vietwhhore -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yaml
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/okn7fDbgTovaeegIEkHbIDcVFUCsCjAH
0IQXAH/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2266&bt=1133&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo2NGQ2NzU2ZTc3ZjYzPEBpMzU5eWc6ZnllajMzZzczNEA
vYTM2M2JgXjYxMmEwXjFfYSNfaGBlcjRnaG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588679&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=d57d993a5380fb246c647a877f3f4766&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/okn7fDbgTovaeegIEkHbIDcVFUCsCjA
H0IQXAH/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2266&bt=1133&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo2NGQ2NzU2ZTc3ZjYzPEBpMzU5eWc6ZnllajMzZzczNE
AvYTM2M2JgXjYxMmEwXjFfYSNfaGBlcjRnaG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588679&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=d57d993a5380fb246c647a877f3f4766&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ow3JISNFSnALpaBYbKeWDRkQAEfgqBYN
UVbS0D/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2594&bt=1297&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Nzc4OTQ0aTg4OWdlOTs2N0BpamRlZWU6Zm5kajMzZzczNEA
tMmMyYTJhNTUxMF4wMV8uYSMzczYucjRnMW5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=3335421afd79e0dad8d5b3613d102060&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ow3JISNFSnALpaBYbKeWDRkQAEfgqBY
NUVbS0D/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2594&bt=1297&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Nzc4OTQ0aTg4OWdlOTs2N0BpamRlZWU6Zm5kajMzZzczNE
AtMmMyYTJhNTUxMF4wMV8uYSMzczYucjRnMW5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=3335421afd79e0dad8d5b3613d102060&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/oYZR1kIYbABkQ0nlEvX0LeUg5eR3NNjB
aSDIDg/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&br=3000&bt=1500&bti=ODszNWYuMDE6&cs=0&ds=3&ft=4f
UEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NGk2NztkO2YzOjU1NzVlNUBpM3M4Zzs6ZnNnajMzZzczNEA1NTE0
YGI1XjMxMF4wXi8wYSNkaDRzcjRfMm5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588675&l=20240222015748CA387BDDD110B
E140324&ply_type=2&policy=2&signature=d305dacfffaa55a3c9dcd644b99365d3&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/oYZR1kIYbABkQ0nlEvX0LeUg5eR3NNj
BaSDIDg/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&br=3000&bt=1500&bti=ODszNWYuMDE6&cs=0&ds=3&ft=4
fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NGk2NztkO2YzOjU1NzVlNUBpM3M4Zzs6ZnNnajMzZzczNEA1NTE
0YGI1XjMxMF4wXi8wYSNkaDRzcjRfMm5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588675&l=20240222015748CA387BDDD110
BE140324&ply_type=2&policy=2&signature=d305dacfffaa55a3c9dcd644b99365d3&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ocNc0EqABQAhM8wkAOzOpyUCGIB8LwIK
lftCUa/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2046&bt=1023&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NTlkaDM5M2Q6ZWlkNzg6NUBpamhtOTM6Zm9lajMzZzczNEA
uYS8yMV8yNjExMDM2Yy4wYSNqbGdmcjQwcG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588678&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=505070e82d90b9cd36b027e2f6a5f268&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ocNc0EqABQAhM8wkAOzOpyUCGIB8LwI
KlftCUa/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2046&bt=1023&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NTlkaDM5M2Q6ZWlkNzg6NUBpamhtOTM6Zm9lajMzZzczNE
AuYS8yMV8yNjExMDM2Yy4wYSNqbGdmcjQwcG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588678&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=505070e82d90b9cd36b027e2f6a5f268&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/o8fUgiNIIIB0DokGbeNlEXDB0nTgbGAy
RQBF0S/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2062&bt=1031&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=ZDtkaDo3aTY4PDZkaDg2ZUBpM2xrNjw6ZnNnajMzZzczNEB
iYWBfXmAyXzYxXmAuYDQyYSMwc2BmcjRfL25gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=cef8c27bd0b6457046fbde22fd5fe8c5&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/o8fUgiNIIIB0DokGbeNlEXDB0nTgbGA
yRQBF0S/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2062&bt=1031&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=ZDtkaDo3aTY4PDZkaDg2ZUBpM2xrNjw6ZnNnajMzZzczNE
BiYWBfXmAyXzYxXmAuYDQyYSMwc2BmcjRfL25gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=cef8c27bd0b6457046fbde22fd5fe8c5&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
第 1 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&aid=1988&app_language=zh-Hans&app_name=tiktok_we
b&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%2520%2528Wi
ndows%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=730606072183785216
7&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language
=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_referer=https%253A%252F%252Fwww.tiktok.com%252F&screen_heig
ht=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo
2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&cover
Format=2&count=5&cursor=1681177507000&secUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZ
P&X-Bogus=DFSzswVuf%2F0ANxXhtosmwF9WX7j3
WARNING 第 1 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&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%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KH
TML%252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabl
ed=true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_f
ullscreen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_refer
er=https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_nam
e=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-
TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&coverFormat=2&count=5&cursor=1681177507000&s
ecUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZP&X-Bogus=DFSzswVuf%2F0ANxXhto
smwF9WX7j3
第 2 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&aid=1988&app_language=zh-Hans&app_name=tiktok_we
b&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%2520%2528Wi
ndows%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=730606072183785216
7&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language
=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_referer=https%253A%252F%252Fwww.tiktok.com%252F&screen_heig
ht=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo
2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&cover
Format=2&count=5&cursor=1681177507000&secUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZ
P&X-Bogus=DFSzswVuf%2F0ANxXhtosmwF9WX7j3
WARNING 第 2 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&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%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KH
TML%252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabl
ed=true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_f
ullscreen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_refer
er=https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_nam
e=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-
TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&coverFormat=2&count=5&cursor=1681177507000&s
ecUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZP&X-Bogus=DFSzswVuf%2F0ANxXhto
smwF9WX7j3
💛 [ 丢失 ]:2023-04-11 09-45-07_...this_song_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💛 [ 丢失 ]:2023-04-11 09-58-52...is_time____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 09-45-07_...this_song_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 09-58-52...is_time____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 08-00-57_...e_good_____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 11-24-24_..._awwww_man_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 11-18-00__video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
C:\Users\Lee>
from f2.
from f2.
点赞主页能取到视频,但是全下载失败,单个视频有问题,也无所谓了
from f2.
还是有问题
Microsoft Windows [版本 10.0.22631.3155]
(c) Microsoft Corporation。保留所有权利。C:\Users\Lee>f2 tk -M one -u https://www.tiktok.com/@vietwhhore/video/7220605899159784747 -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yamlTraceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python311\Scripts\f2.exe_main.py", line 7, in
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\cli.py", line 469, in tiktok
ctx.invoke(set_cli_config, **kwargs)
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 135, in set_cli_config
asyncio.run(run_app(kwargs))
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 143, in run_app
await app_module.main(kwargs)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 665, in main
await mode_function_mapmode
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 234, in handler_one_video
await self.get_or_add_video_data(aweme_data, vdb)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 137, in get_or_add_video_data
local_video_data = await db.get_video_info(aweme_data.get("aweme_id", None))
^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'get_video_info'C:\Users\Lee>f2 tk -M one -u https://www.tiktok.com/@vietwhhore/video/7220605899159784747 -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yamlTraceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Program Files\Python311\Scripts\f2.exe_main.py", line 7, in
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\cli.py", line 469, in tiktok
ctx.invoke(set_cli_config, **kwargs)
File "C:\Program Files\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\click\decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 135, in set_cli_config
asyncio.run(run_app(kwargs))
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\site-packages\f2\cli\cli_commands.py", line 143, in run_app
await app_module.main(kwargs)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 665, in main
await mode_function_mapmode
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 234, in handler_one_video
await self.get_or_add_video_data(aweme_data, vdb)
File "C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok\handler.py", line 137, in get_or_add_video_data
local_video_data = await db.get_video_info(aweme_data.get("aweme_id", None))
^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'get_video_info'C:\Users\Lee>f2 tk -M post -i all -u https://www.tiktok.com/@vietwhhore -c conf/app.yaml
INFO App: tiktok
INFO 主配置路径: C:\Program Files\Python311\Lib\site-packages\f2\conf\app.yaml
INFO 自定义配置路径: C:\Users\Lee\conf\app.yaml
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/okn7fDbgTovaeegIEkHbIDcVFUCsCjAH
0IQXAH/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2266&bt=1133&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo2NGQ2NzU2ZTc3ZjYzPEBpMzU5eWc6ZnllajMzZzczNEA
vYTM2M2JgXjYxMmEwXjFfYSNfaGBlcjRnaG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588679&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=d57d993a5380fb246c647a877f3f4766&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/okn7fDbgTovaeegIEkHbIDcVFUCsCjA
H0IQXAH/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2266&bt=1133&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Njo2NGQ2NzU2ZTc3ZjYzPEBpMzU5eWc6ZnllajMzZzczNE
AvYTM2M2JgXjYxMmEwXjFfYSNfaGBlcjRnaG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588679&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=d57d993a5380fb246c647a877f3f4766&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ow3JISNFSnALpaBYbKeWDRkQAEfgqBYN
UVbS0D/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2594&bt=1297&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Nzc4OTQ0aTg4OWdlOTs2N0BpamRlZWU6Zm5kajMzZzczNEA
tMmMyYTJhNTUxMF4wMV8uYSMzczYucjRnMW5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=3335421afd79e0dad8d5b3613d102060&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ow3JISNFSnALpaBYbKeWDRkQAEfgqBY
NUVbS0D/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2594&bt=1297&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=Nzc4OTQ0aTg4OWdlOTs2N0BpamRlZWU6Zm5kajMzZzczNE
AtMmMyYTJhNTUxMF4wMV8uYSMzczYucjRnMW5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=3335421afd79e0dad8d5b3613d102060&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/oYZR1kIYbABkQ0nlEvX0LeUg5eR3NNjB
aSDIDg/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&br=3000&bt=1500&bti=ODszNWYuMDE6&cs=0&ds=3&ft=4f
UEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NGk2NztkO2YzOjU1NzVlNUBpM3M4Zzs6ZnNnajMzZzczNEA1NTE0
YGI1XjMxMF4wXi8wYSNkaDRzcjRfMm5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588675&l=20240222015748CA387BDDD110B
E140324&ply_type=2&policy=2&signature=d305dacfffaa55a3c9dcd644b99365d3&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/oYZR1kIYbABkQ0nlEvX0LeUg5eR3NNj
BaSDIDg/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&br=3000&bt=1500&bti=ODszNWYuMDE6&cs=0&ds=3&ft=4
fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NGk2NztkO2YzOjU1NzVlNUBpM3M4Zzs6ZnNnajMzZzczNEA1NTE
0YGI1XjMxMF4wXi8wYSNkaDRzcjRfMm5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588675&l=20240222015748CA387BDDD110
BE140324&ply_type=2&policy=2&signature=d305dacfffaa55a3c9dcd644b99365d3&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ocNc0EqABQAhM8wkAOzOpyUCGIB8LwIK
lftCUa/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2046&bt=1023&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NTlkaDM5M2Q6ZWlkNzg6NUBpamhtOTM6Zm9lajMzZzczNEA
uYS8yMV8yNjExMDM2Yy4wYSNqbGdmcjQwcG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588678&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=505070e82d90b9cd36b027e2f6a5f268&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/ocNc0EqABQAhM8wkAOzOpyUCGIB8LwI
KlftCUa/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2046&bt=1023&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=NTlkaDM5M2Q6ZWlkNzg6NUBpamhtOTM6Zm9lajMzZzczNE
AuYS8yMV8yNjExMDM2Yy4wYSNqbGdmcjQwcG5gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588678&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=505070e82d90b9cd36b027e2f6a5f268&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
WARNING 内容长度为0,跳过下载
ERROR HTTP状态错误, 尝试GET请求失败:
https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/o8fUgiNIIIB0DokGbeNlEXDB0nTgbGAy
RQBF0S/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2062&bt=1031&bti=ODszNWYuMDE6&cs=0&ds=3&
ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=ZDtkaDo3aTY4PDZkaDg2ZUBpM2xrNjw6ZnNnajMzZzczNEB
iYWBfXmAyXzYxXmAuYDQyYSMwc2BmcjRfL25gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BDD
D110BE140324&ply_type=2&policy=2&signature=cef8c27bd0b6457046fbde22fd5fe8c5&tk=tt_chain_token, 错误详情: Client
error '403 Forbidden' for url
'https://v16-webapp-prime.tiktok.com/video/tos/maliva/tos-maliva-ve-0068c799-us/o8fUgiNIIIB0DokGbeNlEXDB0nTgbGA
yRQBF0S/?a=1988&ch=0&cr=3&dr=0&lr=unwatermarked&cd=0%7C0%7C0%7C&cv=1&br=2062&bt=1031&bti=ODszNWYuMDE6&cs=0&ds=3
&ft=4fUEKMZj8Zmo0mg4794jVb0ATpWrKsd.&mime_type=video_mp4&qs=0&rc=ZDtkaDo3aTY4PDZkaDg2ZUBpM2xrNjw6ZnNnajMzZzczNE
BiYWBfXmAyXzYxXmAuYDQyYSMwc2BmcjRfL25gLS1kMS9zcw%3D%3D&btag=e00088000&expire=1708588677&l=20240222015748CA387BD
DD110BE140324&ply_type=2&policy=2&signature=cef8c27bd0b6457046fbde22fd5fe8c5&tk=tt_chain_token'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
WARNING 内容长度为0,跳过下载
第 1 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&aid=1988&app_language=zh-Hans&app_name=tiktok_we
b&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%2520%2528Wi
ndows%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=730606072183785216
7&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language
=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_referer=https%253A%252F%252Fwww.tiktok.com%252F&screen_heig
ht=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo
2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&cover
Format=2&count=5&cursor=1681177507000&secUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZ
P&X-Bogus=DFSzswVuf%2F0ANxXhtosmwF9WX7j3
WARNING 第 1 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&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%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KH
TML%252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabl
ed=true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_f
ullscreen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_refer
er=https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_nam
e=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-
TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&coverFormat=2&count=5&cursor=1681177507000&s
ecUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZP&X-Bogus=DFSzswVuf%2F0ANxXhto
smwF9WX7j3
第 2 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&aid=1988&app_language=zh-Hans&app_name=tiktok_we
b&browser_language=zh-CN&browser_name=Mozilla&browser_online=true&browser_platform=Win32&browser_version=5.0%2520%2528Wi
ndows%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=730606072183785216
7&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_fullscreen=false&is_page_visible=true&language
=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_referer=https%253A%252F%252Fwww.tiktok.com%252F&screen_heig
ht=1080&screen_width=1920&webcast_language=zh-Hans&tz_name=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo
2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&cover
Format=2&count=5&cursor=1681177507000&secUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZ
P&X-Bogus=DFSzswVuf%2F0ANxXhtosmwF9WX7j3
WARNING 第 2 次响应内容为空, 状态码: 200,
URL:https://www.tiktok.com/api/post/item_list/?WebIdLastTime=1708567071&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%2520%2528Windows%2520NT%252010.0%253B%2520Win64%253B%2520x64%2529%2520AppleWebKit%252F537.36%2520%2528KH
TML%252C%2520like%2520Gecko%2529%2520Chrome%252F119.0.0.0%2520Safari%252F537.36&channel=tiktok_web&cookie_enabl
ed=true&device_id=7306060721837852167&device_platform=web_pc&focus_state=true&from_page=user&history_len=4&is_f
ullscreen=false&is_page_visible=true&language=zh-Hans&os=windows&priority_region=&referer=®ion=SG&root_refer
er=https%253A%252F%252Fwww.tiktok.com%252F&screen_height=1080&screen_width=1920&webcast_language=zh-Hans&tz_nam
e=Asia%252FHong_Kong&msToken=BVXCX5Od7pBh--V3pp2LVCRJuSgMq1exgo2DTVcl4fN947GwrFHXemtH8v7keH5V2EC6jzR767LMvYz4T-
TkY52Ex1srwzTcuH1_HxlNyfgjO02v3oTYdToH4iIwms5KeZL4VETw_3aX_ipTGQ==&coverFormat=2&count=5&cursor=1681177507000&s
ecUid=MS4wLjABAAAAS42nLiilCCNqrWHWZuOuaFtMCzdf7-UWS5OHbxCtii_9tQvgKCrc0leKHIUosMZP&X-Bogus=DFSzswVuf%2F0ANxXhto
smwF9WX7j3
💛 [ 丢失 ]:2023-04-11 09-45-07_...this_song_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💛 [ 丢失 ]:2023-04-11 09-58-52...is_time____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 09-45-07_...this_song_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 09-58-52...is_time____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 08-00-57_...e_good_____video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 11-24-24_..._awwww_man_video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETA
💙 [ 丢失 ]:2023-04-11 11-18-00__video.mp4 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0% • 0/? bytes ? ETAC:\Users\Lee>
网络的问题已经解决了,这个错误在昨天的提交里已经修复了,你可以往上翻
from f2.
0.0.1.5那个分支源码下载下来替换到 C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok
这里就行了嘛?
from f2.
0.0.1.5那个分支源码下载下来替换到 C:\Program Files\Python311\Lib\site-packages\f2\apps\tiktok
这里就行了嘛?
对,然后下载显示丢失这个问题你还可以重新切换代理和更新cookie来尝试消除。
from f2.
现在就剩一个问题了,就是下载不下来,提示视频丢失😄,节点换了几个,cookie使用f2 tk -c conf/app.yaml --auto-cookie edge
和f2 tk -k "从浏览器中复制的cookie" -c conf/app.yaml --update-config这个都试了,还是提示丢失
from f2.
现在就剩一个问题了,就是下载不下来,提示视频丢失😄,节点换了几个,cookie使用f2 tk -c conf/app.yaml --auto-cookie edge
和f2 tk -k "从浏览器中复制的cookie" -c conf/app.yaml --update-config这个都试了,还是提示丢失
添加-d参数 f2 -d DEBUG tk -c conf/app.yaml 查看详细输出,复制终端里那个作品的链接到postman测试能否访问成功。
from f2.
情况解决了吗?
from f2.
没有。始终提示视频丢失,就是视频链接访问失败,切节点和换cookie都不行,视频链接用postman也不好使
我用过浏览器的插件猫抓,抓取视频链接,抓出来的链接和你的工具获取到的是一样的,但是猫抓 抓取出来的链接用postman访问也不好使,只有用它自己的下载器才能下载
from f2.
应该是tiktok做了限制,下载链接不能随便用一个工具就行下载,估计得适配下
from f2.
获得的链接没问题,就是下载不了
from f2.
Related Issues (20)
- tiktok下载单个视频报错 HOT 1
- [BUG] 0.0.1.6 wb 下载报错 TypeError: 'NoneType' object is not iterable` HOT 1
- [BUG]AttributeError: 'APINotFoundError' object has no attribute 'format'
- [BUG] 命令行执行f2 dy下载报错:`sqlite3.OperationalError: table user_info_web has no column named nickname_raw` HOT 1
- [QUESTION] How to overcome with Access Denied in downloadAddr or playAddr HOT 1
- [QUESTION]配置mode:post下载作品有些无法下载 HOT 1
- 没有符合条件的作品 HOT 2
- [FEATRUE / REQUEST] 如何实现,定时10分钟检查一下抖音主页,有的自动下载,没有自动关闭,如何写脚本的 HOT 1
- [QUESTION] 直播间聊天弹幕抓取 HOT 1
- [BUG]RuntimeError: There is no current event loop in thread 'MainThread' HOT 1
- [QUESTION]url 403 HOT 4
- [BUG]429太频繁了 HOT 7
- [QUESTION]自动获取cookie能否指定火狐路径? HOT 1
- [BUG]wb接口问题:接口 JSON 失败:'utf-8' codec can't decode byte 0xd0 in position 28: invalid continuation byte HOT 1
- [QUESTION] How download without yaml? HOT 1
- [QUESTION]抖音接口返回的图片时 webp, 能改成 jpg 那些么 HOT 1
- 能否在下载视频时同时下载视频的附带信息以方便分析,例如:点赞数量,评论数量,收藏数量,转发数量
- [FEATRUE / REQUEST] 希望能添加获取评论回复的接口
- [BUG]抖音配置中通过uid获取到的作者ID是错误的 HOT 2
- [FEATRUE / REQUEST]希望能支持多作品合为一个链接的抖音下載
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f2.