dgtlmoon/changedetection.io

'wxpusher://' is not a valid AppRise URL.

Opened this issue · 5 comments

Bug Description:
I noticed that WxPusher is supported in apprise, but when I try to enter a URL that starts with wxpusher:// into the notification settings, it throws an error.

Error Message: 'wxpusher://{app_token}@{topic}' is not a valid AppRise URL.

Version:
Exact version displayed in the top right corner: 0.47.06

To Reproduce:

1.Go to 'settings'
2.Click on 'notifications'
3.Enter the AppRise WxPusher URL 'wxpusher://{app_token}@{topic}'
4.An error occurs when trying to save, stating "Error: 'wxpusher://{app_token}@{topic}' is not a valid AppRise URL."

! ALWAYS INCLUDE AN EXAMPLE URL WHERE IT IS POSSIBLE TO RE-CREATE THE ISSUE - USE THE 'SHARE WATCH' FEATURE AND PASTE IN THE SHARE-LINK!

Expected Behavior:
If apprise supports it, the test notification should be effective.

Screenshots:
If applicable, add screenshots to help explain your problem.

Desktop Environment:

OS: Windows 11 Professional Edition
Browser: Microsoft Edge
Version: 130.0.2849.80 (64-bit)

Additional context
Add any other context about the problem here.

i guess you are not using docker, right? can you upgrade apprise? pip3 install apprise --upgrade ?

i guess you are not using docker, right? can you upgrade apprise? pip3 install apprise --upgrade ?

Deployed by Docker, I just pulled dgtlmoon/changedetection.io:latest again, and the error 'wxpusher://AppToken@Topic1/Topic2/Topic3' is not a valid AppRise URL. is still being reproduced.

Terminal execution log
# pip3 install apprise --upgrade Requirement already satisfied: apprise in /usr/local (1.9.0) Requirement already satisfied: certifi in /usr/local (from apprise) (2024.8.30) Requirement already satisfied: requests in /usr/local (from apprise) (2.32.3) Requirement already satisfied: requests-oauthlib in /usr/local (from apprise) (2.0.0) Requirement already satisfied: click>=5.0 in /usr/local (from apprise) (8.1.7) Requirement already satisfied: markdown in /usr/local (from apprise) (3.7) Requirement already satisfied: PyYAML in /usr/local (from apprise) (6.0.2) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local (from requests->apprise) (3.4.0) Requirement already satisfied: idna<4,>=2.5 in /usr/local (from requests->apprise) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local (from requests->apprise) (1.26.19) Requirement already satisfied: oauthlib>=3.0.0 in /usr/local (from requests-oauthlib->apprise) (3.2.2)


$ apprise wxpusher://apptoken/123/343/UID_ABCD
2024-11-11 10:30:58,270 - ERROR - Could not load WxPusher URL: wxpusher://apptoken/123/343/U...D
You must specify at least one server URL or populated configuration file.
Try 'apprise --help' for more information.


$ apprise --version
Apprise v1.9.0

yeah something up in apprise maybe?

# Assuming our {app_key} is AT_12345
# Assuming our {topic} is 987
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure  \
   wxpusher://AT_12345/987

this works for me, using / instead of @ https://github.com/caronc/apprise/wiki/Notify_wxpusher#example

does it solve it for you?

# Assuming our {app_key} is AT_12345
# Assuming our {topic} is 987
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure  \
   wxpusher://AT_12345/987

this works for me, using / instead of @ https://github.com/caronc/apprise/wiki/Notify_wxpusher#example

does it solve it for you?

'wxpusher://apptoken/123/343/' is not a valid AppRise URL.