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
执行python main.py --platform dy --lt qrcode --type search时会报错:
Traceback (most recent call last):
File "d:\git\MediaCrawler-main\main.py", line 66, in
asyncio.get_event_loop().run_until_complete(main())
File "C:\ProgramData\miniconda3\envs\openai310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "d:\git\MediaCrawler-main\main.py", line 56, in main
await crawler.start()
File "d:\git\MediaCrawler-main\media_platform\douyin\core.py", line 77, in start
await self.search()
File "d:\git\MediaCrawler-main\media_platform\douyin\core.py", line 106, in search
posts_res = await self.dy_client.search_info_by_keyword(keyword=keyword,
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 177, in search_info_by_keyword
return await self.get("/aweme/v1/web/general/search/single/", query_params, headers=headers)
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 112, in get
await self.__process_req_params(uri, params, headers)
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 91, in __process_req_params
a_bogus = await get_a_bogus(uri, query_string, post_data, headers["User-Agent"], self.playwright_page)
File "d:\git\MediaCrawler-main\media_platform\douyin\help.py", line 51, in get_a_bogus
return get_a_bogus_from_js(url, params, user_agent)
File "d:\git\MediaCrawler-main\media_platform\douyin\help.py", line 67, in get_a_bogus_from_js
return douyin_sign_obj.call(sign_js_name, params, user_agent)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: SyntaxError: 缺少 ')'
The text was updated successfully, but these errors were encountered:
执行python main.py --platform dy --lt qrcode --type search时会报错:
Traceback (most recent call last):
File "d:\git\MediaCrawler-main\main.py", line 66, in
asyncio.get_event_loop().run_until_complete(main())
File "C:\ProgramData\miniconda3\envs\openai310\lib\asyncio\base_events.py", line 649, in run_until_complete
return future.result()
File "d:\git\MediaCrawler-main\main.py", line 56, in main
await crawler.start()
File "d:\git\MediaCrawler-main\media_platform\douyin\core.py", line 77, in start
await self.search()
File "d:\git\MediaCrawler-main\media_platform\douyin\core.py", line 106, in search
posts_res = await self.dy_client.search_info_by_keyword(keyword=keyword,
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 177, in search_info_by_keyword
return await self.get("/aweme/v1/web/general/search/single/", query_params, headers=headers)
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 112, in get
await self.__process_req_params(uri, params, headers)
File "d:\git\MediaCrawler-main\media_platform\douyin\client.py", line 91, in __process_req_params
a_bogus = await get_a_bogus(uri, query_string, post_data, headers["User-Agent"], self.playwright_page)
File "d:\git\MediaCrawler-main\media_platform\douyin\help.py", line 51, in get_a_bogus
return get_a_bogus_from_js(url, params, user_agent)
File "d:\git\MediaCrawler-main\media_platform\douyin\help.py", line 67, in get_a_bogus_from_js
return douyin_sign_obj.call(sign_js_name, params, user_agent)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec(code)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec
return self.exec(source)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
File "C:\ProgramData\miniconda3\envs\openai310\lib\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: SyntaxError: 缺少 ')'
The text was updated successfully, but these errors were encountered: