mirror of
https://github.com/public-apis/public-apis.git
synced 2025-05-12 00:26:45 +02:00
Remove unnecessary verification
This commit is contained in:
parent
f921f4ec5d
commit
48946082ba
1 changed files with 0 additions and 9 deletions
|
@ -5,12 +5,6 @@ import re
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
ignored_links = [
|
|
||||||
'https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Run+tests%22',
|
|
||||||
'https://github.com/public-apis/public-apis/workflows/Validate%20links/badge.svg?branch=master',
|
|
||||||
'https://github.com/public-apis/public-apis/actions?query=workflow%3A%22Validate+links%22',
|
|
||||||
'https://github.com/davemachado/public-api',
|
|
||||||
]
|
|
||||||
|
|
||||||
def parse_links(filename):
|
def parse_links(filename):
|
||||||
"""Returns a list of URLs from text file"""
|
"""Returns a list of URLs from text file"""
|
||||||
|
@ -37,9 +31,6 @@ def dup_links(links):
|
||||||
dupes = []
|
dupes = []
|
||||||
|
|
||||||
for link in links:
|
for link in links:
|
||||||
if link in ignored_links:
|
|
||||||
continue
|
|
||||||
|
|
||||||
if link not in seen:
|
if link not in seen:
|
||||||
seen[link] = 1
|
seen[link] = 1
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue