]> 127.0.0.1 Git - part/.git/commitdiff
92
authorqydysky <qydysky@foxmail.com>
Tue, 17 Nov 2020 22:36:24 +0000 (06:36 +0800)
committerqydysky <qydysky@foxmail.com>
Tue, 17 Nov 2020 22:36:24 +0000 (06:36 +0800)
Reqf.go
get/Get.go

diff --git a/Reqf.go b/Reqf.go
index b0b9dfb38ef4a4b871b91660bf4cf09f3d760d58..d9f3fe00357293221926d0320776445bdd623a40 100644 (file)
--- a/Reqf.go
+++ b/Reqf.go
@@ -11,7 +11,6 @@ import (
     "errors"
     "io/ioutil"
     "net/url"
-    "log"
     compress "github.com/qydysky/part/compress"
     // "encoding/binary"
 )
@@ -143,7 +142,6 @@ func (this *req) Reqf_1(val Rval) (error) {
     if err != nil {
         return err
     }
-       log.Println(Map_2_Cookies_String(Cookies_List_2_Map(resp.Cookies())))
     
     var saveToFile func(io.Reader,string)error = func (Body io.Reader,filepath string) error {
         out, err := os.Create(filepath + ".dtmp")
index 6e3e16303c547a36e6f74098ec026b46aa7505d6..c552d1bc5a6a7a9e632124fc64e6f13535503e1e 100644 (file)
@@ -1,7 +1,6 @@
 package part
 
 import (
-       // "log"
        "strings"
        "errors"
        "net/http"
@@ -25,7 +24,7 @@ func Get(r p.Rval) (o *get){
        o.Err = R.Reqf(r)
        (*o).body = R.Respon
        (*o).Response = R.Response
-
+       
        return
 }