You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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失败!****
The text was updated successfully, but these errors were encountered:
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].
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失败!****
The text was updated successfully, but these errors were encountered: