docker 剪贴板粘不进去cookie #604
Replies: 2 comments 1 reply
-
|
容器和主机环境是隔离的。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
确实没考虑到容器问题,以后会重新恢复手动粘贴功能,目前可以考虑通过API写入cookie,或者直接编辑配置文件。
JoeanAmier
***@***.***
…---原始邮件---
发件人: "71 is a hex ***@***.***>
发送时间: 2025年11月13日(周四) 中午11:35
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [JoeanAmier/TikTokDownloader] docker 剪贴板粘不进去cookie (Discussion #604)
是的,但是从docker内尝试读取剪贴板的话会报错(贴在下面),而现在引入了新逻辑“复制 Cookie 内容至剪贴板后,按回车键确认继续;若输入任意内容并按回车,则取消操作”,导致也不能手动输入cookie,所以现在docker其实是没发从CLI中写入cookie的
File "/usr/local/lib/python3.12/site-packages/pyperclip/init.py", line 644, in lazy_load_stub_paste
return paste()
^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyperclip/init.py", line 295, in call
raise PyperclipException('Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error' + additionalInfo)
pyperclip.PyperclipException: Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error
On Linux, you can run sudo apt-get install xclip or sudo apt-get install xselect to install a copy/paste mechanism.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
0xca71
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
rt,复制cookie到剪贴板之后,去docker启动的应用里粘贴会报错的。docker里应该还是读取不了剪贴板。
Beta Was this translation helpful? Give feedback.
All reactions