Jared 2 年之前
父節點
當前提交
4e7e4de98f
共有 1 個文件被更改,包括 6 次插入3 次删除
  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):