Use Firefox Android User-Agent: for instagram.com - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 3d10288bff21012d8fa2d0f3748816e2232bafb3
(DIR) parent 072ce7911cc40b77f4f978839b26d512d2496429
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Wed, 17 Jul 2019 18:31:16
Use Firefox Android User-Agent: for instagram.com
(Still problematic when uploading image.)
Diffstat:
wip/surf-git/patch-config.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff -r 072ce7911cc4 -r 3d10288bff21 wip/surf-git/patch-config.h
--- a/wip/surf-git/patch-config.h Tue Jul 16 23:39:20 2019 +0200
+++ b/wip/surf-git/patch-config.h Wed Jul 17 18:31:16 2019 +0200
@@ -58,7 +58,7 @@
+
+static UriParameters uriparams[] = {
+ { "://www\\.instagram\\.com/", {
-+ [UserAgent] = { { .v = "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1" }, 1 },
++ [UserAgent] = { { .v = "Mozilla/5.0 (Android 9; Mobile; rv:67.0.3) Gecko/67.0.3 Firefox/67.0.3" }, 1 },
+ }, },
+ { "://ilmanifesto\\.it/", {
+ [UserAgent] = { { .v = "Googlebot-News" }, 1 },