add IP.SB source
This commit is contained in:
parent
90158ca5ad
commit
9428b92e6a
9
pddnsc/sources/ipsb.py
Normal file
9
pddnsc/sources/ipsb.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
from pddnsc.sources.http import GenericHttpSource
|
||||||
|
|
||||||
|
|
||||||
|
# https://ip.sb/api
|
||||||
|
class IPSB(GenericHttpSource):
|
||||||
|
def post_init(self):
|
||||||
|
super().post_init()
|
||||||
|
self.url_v4 = "https://api-ipv4.ip.sb/ip"
|
||||||
|
self.url_v6 = "https://api-ipv6.ip.sb/ip"
|
Loading…
Reference in New Issue
Block a user