added double check to Bitchute tag input
This commit is contained in:
@@ -124,11 +124,15 @@ Loop, 10 { ; Attempt to input video description a couple of times
|
||||
Message = Inputting Tags
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||
|
||||
; Convert tags into #hasthtags
|
||||
; Get first 3 tags from Video Tags array
|
||||
Loop, 3 {
|
||||
BitchuteTags .= VideoTagsArray[A_Index] . " "
|
||||
BitchuteTags .= ArrayOfVideoTags[A_Index] . " "
|
||||
}
|
||||
|
||||
Message = Inputting Tags: %BitchuteTags%
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,ErrorSummaryVar,DiscordErrorLogging")
|
||||
|
||||
|
||||
; input Search Terms (Tags)
|
||||
Xpath = //input[@placeholder='Search Terms']
|
||||
Status := Selenium_LoopToSendValueToXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000,StringTextContent:=BitchuteTags)
|
||||
@@ -137,6 +141,13 @@ Message = Failed to input search terms (tags)
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||
}
|
||||
|
||||
js = return document.querySelector("#hashtags").value;
|
||||
try CurrentHashTagValue := driver.executeScript(JS) ;Execute Javascript
|
||||
if(CurrentHashTagValue = ""){
|
||||
Message = Tags that got input into page: %CurrentHashTagValue%
|
||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||
}
|
||||
|
||||
|
||||
; Upload Thumbnail
|
||||
Message = Attaching Thumbnail
|
||||
|
||||
Reference in New Issue
Block a user