From d07e6a36f270bde9f31927d718a03914fb05ab2f Mon Sep 17 00:00:00 2001 From: Elliot Williams Date: Tue, 26 Aug 2014 16:26:43 +0200 Subject: [PATCH 1/1] added support for "open" follow https:// links open only works for links that start with "http://" extended to deal with "https://" --- rainbowstream/rainbow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rainbowstream/rainbow.py b/rainbowstream/rainbow.py index 4b34682..5542ca7 100644 --- a/rainbowstream/rainbow.py +++ b/rainbowstream/rainbow.py @@ -463,6 +463,8 @@ def urlopen(): tweet = t.statuses.show(id=tid) link_ary = [ u for u in tweet['text'].split() if u.startswith('http://')] + link_ary.extend([ + u for u in tweet['text'].split() if u.startswith('https://')]) if not link_ary: printNicely(light_magenta('No url here @.@!')) return -- 2.25.1