Merge pull request #47 from hexagon5un/master
authorOrakaro <DTVD@users.noreply.github.com>
Tue, 26 Aug 2014 15:45:54 +0000 (00:45 +0900)
committerOrakaro <DTVD@users.noreply.github.com>
Tue, 26 Aug 2014 15:45:54 +0000 (00:45 +0900)
added support for "open" follow https:// links

rainbowstream/rainbow.py

index 4b34682..5542ca7 100644 (file)
@@ -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