fix certificate error

This commit is contained in:
kokarare1212 2023-10-28 18:47:44 +09:00
parent 80d9331639
commit c8f9026970
1 changed files with 4 additions and 1 deletions

View File

@ -320,7 +320,10 @@ class CdnFeedHelper:
@staticmethod
def get_url(resp: StorageResolve.StorageResolveResponse) -> str:
return random.choice(resp.cdnurl)
selected_url = random.choice(resp.cdnurl)
while not "audio4-gm-fb" in selected_url:
selected_url = random.choice(resp.cdnurl)
return selected_url
@staticmethod
def load_track(