archiving community contributions on YouTube: unpublished captions, title and description translations and caption credits
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

7 行
315 B

  1. import http3
  2. def get(url: str, params: tuple = (), backend="requests", mysession=None, http3headers: dict ={}):
  3. if backend == "requests":
  4. return mysession.get(url, params=params)
  5. elif backend == "http3":
  6. #print(http3headers)
  7. return http3.get(url, headers=http3headers, params=params)