Comments (3)
找到原因了
from dingtalkchatbot.chatbot import DingtalkChatbot
from dingtalkchatbot.chatbot import CardItem
from dingtalkchatbot.chatbot import ActionCard
from dingtalkchatbot.
from dingtalkchatbot.
pic_url 改成存在的图片链接也不行,同样的错误
(py37-dingding) sz@pc:/mnt/d$ python dd.py
Traceback (most recent call last):
File "dd.py", line 65, in <module>
card1 = CardItem(title="氧气美女", url="https://www.dingtalk.com/", pic_url="http://n.sinaimg.cn/sinacn20200110ac/680/w882h598/20200110/8e4c-imvsvza4458787.jpg")
NameError: name 'CardItem' is not defined
from dingtalkchatbot.
Related Issues (20)
- 有没兴趣开发个async版本的么 HOT 2
- HTTPSConnectionPool(host='oapi.dingtalk.com', port=443): Max retries exceeded with url: /robot/send?access_token=xxxxxxxxxxxxxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))" HOT 1
- hi,你好可以帮忙看看这个问题嘛HTTPSConnectionPool(host='oapi.dingtalk.com', port=443): Max retries exceeded with url: /robot/send?access_token=xxxxxxxxxxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)')))" 我在本地电脑上执行发送没问题,放在服务器上执行就报错了,可以帮忙看看嘛 HOT 2
- 'errcode': 310000, 'errmsg': 'keywords not in content, more: [https://ding-doc.dingtalk.com/doc#/serverapi2/qf2nxq]' HOT 1
- actioncard的图片,用本地路径或者内网服务器的路径比如http://192.169.8.8/images/test.png是无法显示的 HOT 1
- Missing 'import requests' in setup.py File HOT 1
- link['messageURL'] = self.msg_open_type(link['messageURL'])
- 关于图片发送的问题 HOT 2
- 没法艾特所有人了 HOT 1
- 这个模块可以开发点对点对话的机器人吗? HOT 1
- 请问支持DING一下这个功能吗 HOT 1
- 钉钉机器人最大连接数 HOT 2
- 证书验证失败 HOT 1
- 可以支持企业微信模块开发吗? HOT 3
- 如果碰到无法发送图片的情况请点我 HOT 1
- 不支持代理
- 【下线】关于钉钉自定义机器人产品下线的公告
- 用户发消息到服务端后,回复用户时如何实现@功能
- 是否能支持html内容直接输出
- FeedCard模式消息长度有限制?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dingtalkchatbot.