mirror of
https://github.com/caronc/apprise.git
synced 2025-06-21 18:21:29 +02:00
Twitter supports x:// to align with it's new re-branding (#971)
This commit is contained in:
parent
ae0c412b41
commit
902f39cd58
@ -83,7 +83,7 @@ class NotifyTwitter(NotifyBase):
|
|||||||
service_url = 'https://twitter.com/'
|
service_url = 'https://twitter.com/'
|
||||||
|
|
||||||
# The default secure protocol is twitter.
|
# The default secure protocol is twitter.
|
||||||
secure_protocol = ('twitter', 'tweet')
|
secure_protocol = ('x', 'twitter', 'tweet')
|
||||||
|
|
||||||
# A URL that takes you to the setup/help of the specific protocol
|
# A URL that takes you to the setup/help of the specific protocol
|
||||||
setup_url = 'https://github.com/caronc/apprise/wiki/Notify_twitter'
|
setup_url = 'https://github.com/caronc/apprise/wiki/Notify_twitter'
|
||||||
|
@ -87,7 +87,7 @@ apprise_url_tests = (
|
|||||||
'notify_response': False,
|
'notify_response': False,
|
||||||
|
|
||||||
# Our expected url(privacy=True) startswith() response:
|
# Our expected url(privacy=True) startswith() response:
|
||||||
'privacy_url': 'twitter://c...y/****/a...2/****',
|
'privacy_url': 'x://c...y/****/a...2/****',
|
||||||
}),
|
}),
|
||||||
('twitter://consumer_key/consumer_secret/atoken3/access_secret'
|
('twitter://consumer_key/consumer_secret/atoken3/access_secret'
|
||||||
'?cache=no', {
|
'?cache=no', {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user