archiving community contributions on YouTube: unpublished captions, title and description translations and caption credits
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

7 righe
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)