updater.py aktualisiert
This commit is contained in:
parent
39af16b310
commit
8a5a96d9f0
@ -1,4 +1,4 @@
|
|||||||
#APK Updater v1.0
|
#APK Updater v1.1
|
||||||
#(C) 2023 by Manuel Kamper (kmpr.at)
|
#(C) 2023 by Manuel Kamper (kmpr.at)
|
||||||
#Do not remove copyright when distributing!
|
#Do not remove copyright when distributing!
|
||||||
import feedparser, mysql.connector, os, glob, time, shutil
|
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 = driver.find_element(By.CSS_SELECTOR, 'svg.icon.ic-download-right')
|
||||||
cookiebutton.click()
|
cookiebutton.click()
|
||||||
print("APK " + row[2] + " downloaded.")
|
print("APK " + row[2] + " downloaded.")
|
||||||
time.sleep(5)
|
time.sleep(30)
|
||||||
#rename and move file to repo
|
#rename and move file to repo
|
||||||
print("Moved APK to: " + get_last_filename_and_rename(row[2]))
|
print("Moved APK to: " + get_last_filename_and_rename(row[2]))
|
||||||
driver.close()
|
driver.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user