<input type="button" value="获取" class="rb1" onclick="ajax_methodId();"/>
  <input type="button" value="时光网评分" class="rb1" onclick="ajax_method_mtime();"/>
  <script type="text/javascript">
    function ajax_methodId() {
        url_upload(document.addform.v_pic.value);
    }
    var url_upload = function(urls) {
        if(urls == "" || urls == null) {
            alert('请贴入需要上传的网络图片地址.');
            return
        }
        var url = 'https://api.oioweb.cn/sinaimg.php?img='+urls;
        var xhr = new XMLHttpRequest();
        xhr.open("get", url);
        xhr.send();
        xhr.onreadystatechange = function(){
            if(xhr.readyState == 4 && xhr.status == 200){
                var json = JSON.parse(xhr.responseText);
                if(json.pid != 'undefined') {
                    document.addform.v_pic.value = 'https://ww1.sinaimg.cn/large/' + json.pid + '.jpg';
                } else {
                    document.addform.v_pic.value = urls;
                }
            }
        }
    }
    function ajax_method_mtime() {
      var douban = document.getElementById('v_name').value;
      window.open("http://search.mtime.com/search/?q="+douban);
    }
  </script>

我加到了admin_video_edit.htm 1689行 评分下方