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

这个是哪里出了问题, #7

Open
q247574452 opened this issue Jun 4, 2024 · 2 comments
Open

这个是哪里出了问题, #7

q247574452 opened this issue Jun 4, 2024 · 2 comments

Comments

@q247574452
Copy link

Traceback (most recent call last):
File "D:\Userfile\下载\YuqueExport-master\YuqueExport-master\YuqueExport.py", line 219, in
asyncio.run(main())
File "D:\Program Files\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "D:\Program Files\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Program Files\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "D:\Userfile\下载\YuqueExport-master\YuqueExport-master\YuqueExport.py", line 183, in main
await download_md(repo_id, repo_name, doc_id, doc_title)
File "D:\Userfile\下载\YuqueExport-master\YuqueExport-master\YuqueExport.py", line 95, in download_md
f.write(record_doc_output)
UnicodeEncodeError: 'gbk' codec can't encode character '\U0001f4c6' in position 3: illegal multibyte sequence
PS D:\Userfile\下载\YuqueExport-master\YuqueExport-master>

@M1r0ku
Copy link
Owner

M1r0ku commented Jun 17, 2024

应该是文章里包含了例如emoji等的特殊字符导致无法解析,可以把字符删掉再尝试导出

@woshitieren
Copy link

这个估计是没有输入token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants