From ea91ebb237584cd44faf040504a24982879f547c Mon Sep 17 00:00:00 2001 From: yuriy Date: Sun, 22 Oct 2023 01:20:27 -0400 Subject: [PATCH] version bump --- Freedomain Video Uploader.ahk | 3 +-- Lib/Freedomain-Posters-Shared-Functions | 2 +- Modules/DailyMotion-Upload.ahk | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Freedomain Video Uploader.ahk b/Freedomain Video Uploader.ahk index 4f7dcac..2e3ff3d 100644 --- a/Freedomain Video Uploader.ahk +++ b/Freedomain Video Uploader.ahk @@ -31,7 +31,7 @@ global FullScriptName ScriptName = Freedomain Video Uploader -ScriptVersion = 3.21 +ScriptVersion = 3.22 FullScriptName := ScriptName . " - " . ScriptVersion @@ -938,7 +938,6 @@ SelectVideoThumbFilepath: FileSelectFile, VideoThumbFilepath,, %FileDir%, Select Thumbnail File if(!InStr(VideoThumbFilepath, FileDir)){ - ; ToolTip, Thumbnail Copied to Project Folder, 850, 0 TimedToolTip("Thumbnail Copied to Project Folder",,,1000) SplitPath, VideoThumbFilepath, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive FileCopy, %VideoThumbFilepath%, %FileDir%\*,1 diff --git a/Lib/Freedomain-Posters-Shared-Functions b/Lib/Freedomain-Posters-Shared-Functions index 1962743..cfce669 160000 --- a/Lib/Freedomain-Posters-Shared-Functions +++ b/Lib/Freedomain-Posters-Shared-Functions @@ -1 +1 @@ -Subproject commit 1962743565d49bd0ed3c36a67a05642483e28eff +Subproject commit cfce6690610438727c67fe061e1b5c703eb3cc61 diff --git a/Modules/DailyMotion-Upload.ahk b/Modules/DailyMotion-Upload.ahk index ed8d1e5..9d5aad7 100644 --- a/Modules/DailyMotion-Upload.ahk +++ b/Modules/DailyMotion-Upload.ahk @@ -36,12 +36,12 @@ if(LoggedOutStatus){ try driver.FindElementByXPath(Xpath).click() Xpath = //input[@placeholder='Enter password'] - driver.FindElementByXPath(Xpath).click() + try driver.FindElementByXPath(Xpath).click() js = document.querySelector("button[type='submit']").click(); driver.executeScript(js) - driver.executeScript("return document.readyState").equals("complete") ; wait until page loads completely before proceeding + try driver.executeScript("return document.readyState").equals("complete") ; wait until page loads completely before proceeding sleep, 1000 ; Do a double check to make sure that login worked