fixed broken Odysee livestream URL generation
This commit is contained in:
@@ -43,9 +43,10 @@ OdyseeLivestreamSlug := "livestream-" . OdyseeLivestreamDate
|
|||||||
OdyseeURLSLUG := LBRYCMDTextReplacement(OdyseeLivestreamSlug)
|
OdyseeURLSLUG := LBRYCMDTextReplacement(OdyseeLivestreamSlug)
|
||||||
IniWrite, %OdyseeURLSLUG%, %PostStatusesFilepath%, Livestream,OdyseeURLSLUG
|
IniWrite, %OdyseeURLSLUG%, %PostStatusesFilepath%, Livestream,OdyseeURLSLUG
|
||||||
|
|
||||||
Xpath = (//div[@class='form-field__prefix'])[1]
|
/*Xpath = (//div[@class='form-field__prefix'])[1]
|
||||||
try OdyseeChannelURL := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text
|
try OdyseeChannelURL := driver.findelementbyxpath(Xpath).Attribute("innerText") ;XPATH Inner Text
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
Message = Inputting Livestream Information
|
Message = Inputting Livestream Information
|
||||||
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
SaveOrPostProgress(Message:=Message,PostType:="Tooltip,ErrorLoggingTextFile,DiscordErrorLogging")
|
||||||
@@ -249,8 +250,15 @@ if(Status){
|
|||||||
Return
|
Return
|
||||||
}
|
}
|
||||||
|
|
||||||
OdyseeLivestreamURL := "https://" . OdyseeChannelURL . OdyseeURLSLUG
|
|
||||||
; OdyseeURL := "https://" . OdyseeURL
|
IniRead, OdyseeChannelURL, %SettingsIniFilepath%, %ScriptSettingsSection%, OdyseeChannelURL, %A_Space%
|
||||||
|
if(!OdyseeChannelURL){
|
||||||
|
OdyseeChannelURL := "https://odysee.com/@freedomain:b/"
|
||||||
|
IniWrite, %OdyseeChannelURL%, %SettingsIniFilepath%, %ScriptSettingsSection%, OdyseeChannelURL
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
OdyseeLivestreamURL := OdyseeChannelURL . OdyseeURLSLUG
|
||||||
IniWrite, %OdyseeLivestreamURL%, %PostStatusesFilepath%, Livestream,OdyseeLivestreamURL
|
IniWrite, %OdyseeLivestreamURL%, %PostStatusesFilepath%, Livestream,OdyseeLivestreamURL
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user