213
This commit is contained in:
parent
887a0fd664
commit
0364fc077b
|
@ -3,8 +3,6 @@ package parser
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
|
||||||
"strings"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/davecgh/go-spew/spew"
|
"github.com/davecgh/go-spew/spew"
|
||||||
|
@ -42,8 +40,8 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
||||||
spew.Dump(adlist)
|
spew.Dump(adlist)
|
||||||
|
|
||||||
for _, data := range adlist {
|
for _, data := range adlist {
|
||||||
data = strconv.QuoteToASCII(data)
|
// data = strconv.QuoteToASCII(data)
|
||||||
data = strings.Replace(data, "\\", "", -1)
|
// data = strings.Replace(data, "\\", "", -1)
|
||||||
log.Println(data)
|
log.Println(data)
|
||||||
|
|
||||||
var jdata interface{}
|
var jdata interface{}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user