Explorar o código

Push extra files

Cammy %!s(int64=7) %!d(string=hai) anos
pai
achega
c47425fec2
Modificáronse 5 ficheiros con 3 adicións e 1 borrados
  1. BIN=BIN
      cAuthCookie.pyc
  2. 2 1
      cDownloader.py
  3. BIN=BIN
      cDownloader.pyc
  4. 1 0
      cMain.py
  5. BIN=BIN
      cMain.pyc

BIN=BIN
cAuthCookie.pyc


+ 2 - 1
cDownloader.py

@@ -9,6 +9,7 @@ import codecs
 from socket import timeout, error as SocketError
 from ssl import SSLError
 from urllib2 import URLError
+
 from httplib import HTTPException
 from instagram_private_api_extensions import live
 import sys, os, time, json
@@ -72,7 +73,7 @@ def getBroadcast(user_id):
         else:
         	recordStream(broadcast)
     except NoBroadcastException as e:
-        cLogger.log('[W] Could not get broadcast info: ' + str(e), "YELLOW")
+        cLogger.log('[W] ' + str(e), "YELLOW")
         cLogger.seperator("GREEN")
         exit()
     except Exception as e:

BIN=BIN
cDownloader.pyc


+ 1 - 0
cMain.py

@@ -26,4 +26,5 @@ args = parser.parse_args()
 
 api = cAuthCookie.login(args.username, args.password)
 
+
 cDownloader.main(api, args.record)

BIN=BIN
cMain.pyc