Add mobile.twitter.com URLs, not twitter.com one - gophercgis - Collection of gopher CGI/DCGI for geomyidae
(HTM) hg clone https://bitbucket.org/iamleot/gophercgis
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) changeset e910e592d237960e1046e9b1e50d08550c167c74
(DIR) parent edb836b4ea5aab68db5dcbbe2419896467af6a59
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Sun, 16 Dec 2018 10:59:54
Add mobile.twitter.com URLs, not twitter.com one
(The former should be visible on most browsers without needing cookies
and javascript.)
Diffstat:
twitter/tweets.dcgi | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff -r edb836b4ea5a -r e910e592d237 twitter/tweets.dcgi
--- a/twitter/tweets.dcgi Sun Dec 16 02:50:57 2018 +0100
+++ b/twitter/tweets.dcgi Sun Dec 16 10:59:54 2018 +0100
@@ -20,6 +20,7 @@
base="https://twitter.com"
+mbase="https://mobile.twitter.com"
#
@@ -50,7 +51,7 @@
#
tscrape_gph()
{
- awk -v base="${base}" -v cgi="${CGI}" -F "\t" \
+ awk -v base="${mbase}" -v cgi="${CGI}" -F "\t" \
'
function print_fmt(text)
{