From 478f8f769e53be499b64f6ed48069444fb5b5f74 Mon Sep 17 00:00:00 2001 From: yuriy Date: Sun, 30 Jun 2024 23:52:29 -0400 Subject: [PATCH] fixed bitchute --- Modules/Bitchute-Upload.ahk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Modules/Bitchute-Upload.ahk b/Modules/Bitchute-Upload.ahk index 92289ef..9d4e4c3 100644 --- a/Modules/Bitchute-Upload.ahk +++ b/Modules/Bitchute-Upload.ahk @@ -164,7 +164,7 @@ Loop, 3 { } Message = Inputting Tags: %BitchuteTags% -SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging") +SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging") ; input Search Terms (Tags) @@ -320,8 +320,8 @@ if(VideoHref = ""){ Return } -BitChuteURL := "https://www.bitchute.com/" . VideoHref -BitChuteURL := StrReplace(BitchuteURL, "//video", "/video") +BitChuteURL := "https://old.bitchute.com/" . VideoHref +BitChuteURL := StrReplace(BitchuteURL, "//", "/") ; navigate to video page try driver.Get(BitChuteURL) ;Open selected URL @@ -349,6 +349,9 @@ SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,Disc Xpath = //button[normalize-space()='Save'] Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000) + +BitChuteURL := StrReplace(BitchuteURL, "old.", "") + Message = Upload Complete:`n%BitChuteURL% SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging") IniWrite, %BitChuteURL%, %VideoLinksIniFile%, URLs, BitChuteURL