Use Instagram CDN instead of Wikimedia for Gateway.COMPONENT_AVATAR
Wikimedia requires a compliant user agent, and the default aiohttp user agent is blocked
This commit is contained in:
parent
e2a58b7216
commit
12b0dd3bde
1 changed files with 1 additions and 2 deletions
|
|
@ -18,8 +18,7 @@ from .utils import get_session_file
|
|||
class Gateway(BaseGateway):
|
||||
COMPONENT_NAME = "Instagram (Slidge)"
|
||||
COMPONENT_TYPE = "instagram"
|
||||
COMPONENT_AVATAR = ("https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/"
|
||||
"Instagram_logo_2016.svg/640px-Instagram_logo_2016.svg.png")
|
||||
COMPONENT_AVATAR = ("https://static.cdninstagram.com/rsrc.php/v4/yG/r/De-Dwpd5CHc.png")
|
||||
|
||||
ROSTER_GROUP = "instagram"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue