Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用户主页下载出错 #362

Closed
bluedolphi opened this issue Dec 28, 2024 · 2 comments
Closed

用户主页下载出错 #362

bluedolphi opened this issue Dec 28, 2024 · 2 comments
Labels
其他问题(other) 与项目无关的问题

Comments

@bluedolphi
Copy link

Traceback (most recent call last):
File "e:\my program\python\COPT\temp.py", line 12, in
asyncio.run(hybrid_parsing(url='https://v.douyin.com/iUv9ENbJ/'))
File "D:\Python310\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\Python310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "e:\my program\python\COPT\temp.py", line 8, in hybrid_parsing
result = await api.hybrid_parsing(url)
File "E:\my program\python\COPT.venv\lib\site-packages\douyin_tiktok_scraper\scraper.py", line 463, in hybrid_parsing
raise ValueError(f"获取**{url_platform}视频ID失败!")
ValueError: 获取
douyin**视频ID失败!****

Copy link

dosubot bot commented Dec 28, 2024

Hey @bluedolphi, I'm here to help you with any bugs, questions, or contributions. Let's tackle this together!

To resolve the ValueError related to failing to obtain the Douyin video ID when using the hybrid_parsing function, ensure that the URL is in the correct format. You need to modify the URL from the iesdouyin.com format to the douyin.com format. Specifically, change the URL from https://www.iesdouyin.com/share/video/[ID] to https://www.douyin.com/video/[ID]. This modification is necessary because the iesdouyin.com links are not directly supported and need to be converted to the douyin.com format for proper parsing [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@JoeanAmier JoeanAmier added the 其他问题(other) 与项目无关的问题 label Dec 29, 2024
@JoeanAmier
Copy link
Owner

与本项目无关。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
其他问题(other) 与项目无关的问题
Projects
None yet
Development

No branches or pull requests

2 participants