Jason il y a 2 ans
Parent
commit
2fc389c609
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 0
      website_clickjobs/type-V/_execute.py
  2. 2 2
      website_clickjobs/type-V/c1.py

+ 1 - 0
website_clickjobs/type-V/_execute.py

@@ -1,3 +1,4 @@
+#coding=utf-8
 from selenium import webdriver
 import traceback
 import time

+ 2 - 2
website_clickjobs/type-V/c1.py

@@ -20,10 +20,10 @@ def pickvideo():
 
 termlist = ["信義房屋","信義 房屋","信義房仲","信義 房仲"]
 
-clickvideo = 0 # set to 1 to alert if video is found (DOES NOT CLICK!), requires whitelist
+clickvideo = 2 # set to 1 to alert if video is found (DOES NOT CLICK!), requires whitelist
 # ^ set to 2 to click the video when found, requires whitelist
 # ^ any other value will only search for videos based on termlist
-savefile = 1 # set to 1 to save screenshot and ranking to file
+savefile = 0 # set to 1 to save screenshot and ranking to file
 
 if clickvideo == 1 or clickvideo == 2:
     while True: