urlib 和请求“有时”失败以获取最终 URL self.value 以在 odoo 中发送 url

问题描述

urlib 和请求“有时”无法获取最终 URL self.value 以在 odoo 中发送 url

def send(self):   

   webUrl  = urllib.request.urlopen('http://api.wwww.com/wrapper/send.PHP?userid=self.user&password=self.password)

self.state = 'sent'

需要解决self.value

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)