(links)
| 30 | return links |
| 31 | |
| 32 | def check(links): |
| 33 | from socket import socket |
| 34 | for index in range(len(links)): |
| 35 | try: |
| 36 | test = socket() |
| 37 | test.settimeout(0.05) |
| 38 | test.connect((links[index][0], 80)) |
| 39 | except: |
| 40 | links[index][0] = None |
| 41 | return links |
| 42 | |
| 43 | def write(links): |
| 44 | string = str() |
no test coverage detected