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

push 内容正常可以输出, 但是推送到设备是????? #23

Closed
passwii opened this issue Jan 21, 2022 · 3 comments
Closed

push 内容正常可以输出, 但是推送到设备是????? #23

passwii opened this issue Jan 21, 2022 · 3 comments

Comments

@passwii
Copy link

passwii commented Jan 21, 2022

  1. 用python 做了一个脚本 并且push通知到设备上, 显示??????
    image
  2. 用print 打印输出一下是否乱码, 终端显示正常, 并且复制url 到浏览器可以正常打开推送正常

image

@easychen
Copy link
Owner

URL 里边的中文需要通过 urlencode 等函数进行编码。chrome会自动给地址栏的中文编码解码,所以可以直接粘贴

@passwii
Copy link
Author

passwii commented Jan 21, 2022

OK, thanks :)

@passwii passwii closed this as completed Jan 21, 2022
@gaoliang
Copy link

gaoliang commented Feb 1, 2022

@passwii 封装了个Python SDK,可以试一下 https://github.com/gaoliang/pypushdeer

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