Jared 2 rokov pred
rodič
commit
4e7e4de98f
1 zmenil súbory, kde vykonal 6 pridanie a 3 odobranie
  1. 6 3
      choozmo/watch_yt.py

+ 6 - 3
choozmo/watch_yt.py

@@ -57,10 +57,13 @@ def init_browser(proxy1='proxy1',tiny1='tiny1',socks5="9050",debug='9922',cdrive
 
 db = dataset.connect('mysql://choozmo:pAssw0rd@db.ptt.cx:3306/seo?charset=utf8mb4')
 yt_lst=[]
-cursor=db.query('select * from sbir_yt')
-for c in cursor:
-    yt_lst.append(c['url'])
 
+cursor=['LmWkYVV7wtU','pIPs1n7PTMk','K5DEJXajtqA','YIftavPmHxo','UeZjaenjkx4','YAt1PdQTp4Q','pWx4Sb31JZU','80MN3fcbNKk']
+
+#cursor=db.query('select * from sbir_yt')
+#for c in cursor:
+#    yt_lst.append(c['url'])
+yt_lst=cursor
 class JParams(object):
 
   def get(self, yt,proxy1,tiny1,socks5,debug,cdriver):