mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix ua
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
import copy
|
import copy
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import re
|
import re
|
||||||
import secrets
|
import secrets
|
||||||
import sys
|
import sys
|
||||||
@@ -513,7 +514,7 @@ class Settings(BaseSettings, ConfigModel, LogConfigModel):
|
|||||||
"""
|
"""
|
||||||
全局用户代理字符串
|
全局用户代理字符串
|
||||||
"""
|
"""
|
||||||
return f"{self.PROJECT_NAME}/{self.VERSION_FLAG}"
|
return f"{platform.system()}/{platform.release()} {self.PROJECT_NAME}/{self.VERSION_FLAG}"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def INNER_CONFIG_PATH(self):
|
def INNER_CONFIG_PATH(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user