updater.py aktualisiert

This commit is contained in:
Manuel Kamper 2024-01-08 08:58:59 +00:00
parent 39af16b310
commit 8a5a96d9f0

View File

@ -1,4 +1,4 @@
#APK Updater v1.0
#APK Updater v1.1
#(C) 2023 by Manuel Kamper (kmpr.at)
#Do not remove copyright when distributing!
import feedparser, mysql.connector, os, glob, time, shutil
@ -108,7 +108,7 @@ if real_updates > 0:
cookiebutton = driver.find_element(By.CSS_SELECTOR, 'svg.icon.ic-download-right')
cookiebutton.click()
print("APK " + row[2] + " downloaded.")
time.sleep(5)
time.sleep(30)
#rename and move file to repo
print("Moved APK to: " + get_last_filename_and_rename(row[2]))
driver.close()