mirror of
https://github.com/r4sas/PBinCLI
synced 2025-01-09 06:18:00 +00:00
parent
432675f2e6
commit
641c55a6a2
@ -107,9 +107,8 @@ class Shortener:
|
||||
|
||||
def getlink(self, url):
|
||||
if self.api == 'yourls':
|
||||
data_format = 'json'
|
||||
args = {'action': 'shorturl', 'format': data_format, 'url': url}
|
||||
reqest = dict(args.items() + self.auth_args.items())
|
||||
request = {'action': 'shorturl', 'format': 'json', 'url': url}
|
||||
request.update(self.auth_args)
|
||||
|
||||
result = self.session.post(
|
||||
url = self.apiurl,
|
||||
|
Loading…
Reference in New Issue
Block a user