|
|
@ -267,7 +267,8 @@ class mSpider extends mBase { |
|
|
|
$this->proxy_ip = $ipdata['ip']; |
|
|
|
$this->proxy_port = $ipdata['port']; |
|
|
|
|
|
|
|
$cookie = $rdobj->get(_RC_WEIBO_LOGIN_COOKIE);; |
|
|
|
$cookie = $rdobj->get(_RC_WEIBO_LOGIN_COOKIE); |
|
|
|
if(empty($cookie)) $cookie = WEIBO_LOGIN_COOKIE; |
|
|
|
$url = "https://weibo.com/ajax/statuses/searchProfile?uid={$uid}&page={$page}&hasori=1"; |
|
|
|
$headers = array( |
|
|
|
"Cookie: SUB={$cookie}", |
|
|
@ -378,7 +379,8 @@ class mSpider extends mBase { |
|
|
|
$this->proxy_ip = $ipdata['ip']; |
|
|
|
$this->proxy_port = $ipdata['port']; |
|
|
|
|
|
|
|
$cookie = $rdobj->get(_RC_WEIBO_LOGIN_COOKIE);; |
|
|
|
$cookie = $rdobj->get(_RC_WEIBO_LOGIN_COOKIE); |
|
|
|
if(empty($cookie)) $cookie = WEIBO_LOGIN_COOKIE; |
|
|
|
$endtime = strtotime("tomorrow"); |
|
|
|
$url = "https://weibo.com/ajax/statuses/searchProfile?uid={$uid}&page={$page}&endtime={$endtime}&hasret=1&hastext=1&haspic=1&hasvideo=1&hasmusic=1"; |
|
|
|
$headers = array( |
|
|
|