projects
/
tweeper.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/Tweeper.php: set User-Agent to impersonate a Google crawler
[tweeper.git]
/
src
/
Tweeper.php
diff --git
a/src/Tweeper.php
b/src/Tweeper.php
index
9dc1381
..
4a32f56
100644
(file)
--- a/
src/Tweeper.php
+++ b/
src/Tweeper.php
@@
-36,7
+36,7
@@
date_default_timezone_set('UTC');
*/
class Tweeper {
*/
class Tweeper {
- private static $userAgent = "
Mozilla/5.0
";
+ private static $userAgent = "
APIs-Google (+https://developers.google.com/webmasters/APIs-Google.html)
";
private static $maxConnectionTimeout = 5;
private static $maxConnectionRetries = 5;
private static $maxConnectionTimeout = 5;
private static $maxConnectionRetries = 5;