问题描述
我正在尝试从 ruby 中的这个堆栈溢出问题中克隆最高答案
Reverse search an image in Yandex Images using Python
require 'rest-client'
require 'pry'
response = RestClient.post 'https://yandex.com/images/search',proxy: 'http://1.1.1.1:8080',params: {rpt: 'imageview',format: 'json',request: '{"blocks":[{"block":"b-page_type_search-by-image__link"}]}'},:upload => File.new("/home/alex/Desktop/yandex_search/t2.jpg",'rb'),multipart: true
binding.pry
我无法上传文件。不断收到回复 "Yandex.Images 中空请求的搜索结果"
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)