Ver código fonte

Make sure the link contains ://

pull/3011/head
Matheus Felipe 2 anos atrás
pai
commit
8650f7f979
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: AA785C523274872F
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      scripts/validate/links.py

+ 1
- 1
scripts/validate/links.py Ver arquivo

@@ -73,7 +73,7 @@ def fake_user_agent() -> str:

def get_host_from_link(link: str) -> str:

host = link.split('://', 1)[1]
host = link.split('://', 1)[1] if '://' in link else link

# Remove routes, arguments and anchors
if '/' in host:


Carregando…
Cancelar
Salvar