mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-30 07:21:16 -05:00
AzuraCast: add '#' to URL
This commit is contained in:
parent
bd9d659961
commit
102f078db9
@ -27,7 +27,7 @@ class AzuraCast(callbacks.Plugin):
|
|||||||
self.__parent.__init__(irc)
|
self.__parent.__init__(irc)
|
||||||
|
|
||||||
self.BASE_API = self.registryValue('AzuraAPI') + '{endpoint}'
|
self.BASE_API = self.registryValue('AzuraAPI') + '{endpoint}'
|
||||||
self.PUB_URL = self.registryValue('PublicURL') + '{name}'
|
self.PUB_URL = self.registryValue('PublicURL') + '#{name}'
|
||||||
|
|
||||||
def _fetchURL(self, url, headers=None):
|
def _fetchURL(self, url, headers=None):
|
||||||
return requests.get(url, headers=headers).json()
|
return requests.get(url, headers=headers).json()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user