handle google url redirect in page crawler
This commit is contained in:
parent
b935a1c511
commit
698f5d6d06
4 changed files with 45 additions and 1 deletions
|
|
@ -105,7 +105,7 @@
|
|||
return api('post', './logout')
|
||||
},
|
||||
crawl: function(url) {
|
||||
return api('get', './page?url=' + url).then(json)
|
||||
return api('get', './page?url=' + encodeURIComponent(url)).then(json)
|
||||
}
|
||||
}
|
||||
})()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue