Jason 2 år sedan
förälder
incheckning
0638adef22
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 0 1
      website_clickjobs/type-1/_clickjob1023.py
  2. 3 1
      website_clickjobs/type-1/hhh_r.py

+ 0 - 1
website_clickjobs/type-1/_clickjob1023.py

@@ -169,7 +169,6 @@ def execute(domain, target_domain, brands, query_list):
         print("You have been caught!!!")
         
         #notify("Clickbot " + brands[domain] + " has been caught by Google and will terminate. IP: ")
-        return statuscode
 
     extrasleep = 0
     if(timetaken < 50):

+ 3 - 1
website_clickjobs/type-1/hhh_r.py

@@ -67,5 +67,7 @@ while True:
         print(target_domain)    # mobile version?
         print(ql)
         time.sleep(3)
-        execute(domain, target_domain, brands, ql)
+        statuscode = execute(domain, target_domain, brands, ql)
+        if statuscode == 444:
+            break
 time.sleep(60)