Archived
1
0
Fork 0

Remove User-Agent

This commit is contained in:
海屿有燕 2024-01-11 22:20:55 +08:00
parent 89cecb1653
commit a8d9f202a0
No known key found for this signature in database
GPG key ID: 4B6228F523507FB3

View file

@ -10,7 +10,6 @@ from enkanetwork import Assets
genshin = module('genshin', alias='yuanshen', desc='原神角色信息查询。', developers=['ZoruaFox'])
client = EnkaNetworkAPI()
client.headers['User-Agent'] = 'Akaribot-GenshinModule' # Set User-Agent
ENKA_URL = Config('enka_url') #预引入enka节点自定义