-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I am getting error while executing following code
from yourls import YOURLSClient
yourls = YOURLSClient('https://mydomain.in/yourls-api.php', username='test', password='O2Wy&Pi4%$')
result = yourls.shorten('http://google.com')
print(result)
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 406 Client Error: Not Acceptable for url: https://mydomain.in/yourls-api.php?action=shorturl&url=http%3A%2F%2Fgoogle.com&username=test&password=O2Wy%26Pi4%25%24&format=json
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels