1
0
Fork 0
forked from blallo/rss-bridge

Ça m'apprendra à coder à 3h40..

This commit is contained in:
Mitsukarenai 2014-07-19 03:41:34 +02:00
parent bafe448914
commit 035dfbeed8

View file

@ -21,7 +21,7 @@ class TwitterBridgeExtended extends BridgeAbstract{
foreach($exclude as $exclude_pattern)
$exclude_request .= " -$exclude_pattern";
}
$html = file_get_html('http://twitter.com/search/realtime?q='.urlencode($param['q']).urlencode($exclude_request)'+include:retweets&src=typd') or $this->returnError('No results for this query.', 404);
$html = file_get_html('http://twitter.com/search/realtime?q='.urlencode($param['q']).urlencode($exclude_request).'+include:retweets&src=typd') or $this->returnError('No results for this query.', 404);
}
elseif (isset($param['u'])) { /* user timeline mode */
$html = file_get_html('http://twitter.com/'.urlencode($param['u']).'/with_replies') or $this->returnError('Requested username can\'t be found.', 404);