From 0db2f370fa48cabf296de88d07436082ffa46d50 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 6 Jun 2018 13:20:28 +0200 Subject: [PATCH] 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 actually usable. Tested with https://twitter.com/hashtag/tweeper --- src/Tweeper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tweeper.php b/src/Tweeper.php index f82f3da..50ff148 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:40.0) Gecko/20100101 Firefox/40.1"; + private static $userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0"; /** * Constructor sets up {@link $generate_enclosure}. -- 2.1.4