From: Antonio Ospite Date: Mon, 13 Aug 2018 15:08:03 +0000 (+0200) Subject: Tweeper.php: bump version in the User-Agent string X-Git-Tag: v1.4.0~18 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/45060bbb6b4c2d5e8d2ee461c5a0716b499dc988?ds=sidebyside 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) --- 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}.