Fixed brighteon video URL grabbing

pull/2/head
Yuriy 2 years ago
parent a5736dbf0d
commit 8d58c12f0b

@ -3609,7 +3609,8 @@ Loop, %Number_of_loops_to_Check_Upload_status% {
Message = VideoTitleLongWord: %VideoTitleLongWord%
SaveOrPostProgress(Message:=Message,PostType:=",ErrorLoggingTextFile")
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
; SaveOrPostProgress(Message:=Message,PostType:=",ErrorLoggingTextFile")
try, CurrentURL := driver.url
Message = Trying to Grab URL of latest upload containing keyword: %VideoTitleLongWord%. Tab's current URL: %CurrentURL%
@ -3617,7 +3618,7 @@ Loop, %Number_of_loops_to_Check_Upload_status% {
; DevModeMsgBox(Message)
Loop, 4 {
ElementIndexNumber := A_index
ElementIndexNumber := A_index - 1
jsCheck = return document.getElementsByClassName('col')[%ElementIndexNumber%].outerHTML;
try BrighteonURL := driver.executeScript(jsCheck)

Loading…
Cancel
Save