From 45060bbb6b4c2d5e8d2ee461c5a0716b499dc988 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Mon, 13 Aug 2018 17:08:03 +0200 Subject: [PATCH 1/1] Tweeper.php: bump version in the User-Agent string By using a more recent version of the User-Agent, twitter.com will return more entries in the result when visiting hashtag pages. This makes tracking hashtag pages more usable. This change is similar to what was done in commit 0db2f37 ("Tweeper.php: bump version in the User-Agent string", 2018-06-06) --- src/Tweeper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tweeper.php b/src/Tweeper.php index 50ff148..f34258d 100644 --- a/src/Tweeper.php +++ b/src/Tweeper.php @@ -36,7 +36,7 @@ date_default_timezone_set('UTC'); */ class Tweeper { - private static $userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"; + private static $userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0"; /** * Constructor sets up {@link $generate_enclosure}. -- 2.1.4