fix:cookie illegal key(#728,#787)
This commit is contained in:
parent
0045d446b8
commit
f6f32af71f
@ -1,4 +1,5 @@
|
||||
import asyncio
|
||||
import http.cookies
|
||||
import json
|
||||
import re
|
||||
import subprocess
|
||||
@ -13,6 +14,8 @@ import utils.constants as constants
|
||||
from utils.config import config
|
||||
from utils.tools import is_ipv6, remove_cache_info, get_resolution_value
|
||||
|
||||
http.cookies._is_legal_key = lambda _: True
|
||||
|
||||
|
||||
async def get_speed_with_download(url: str, session: ClientSession = None, timeout: int = config.sort_timeout) -> dict[
|
||||
str, float | None]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user