Closed mheidari98 closed 6 months ago
Thanks for your attention. I've noticed that there are still some inaccessible URLs that need fixing. Could you please take another look? Also, to help identify the inaccessible URLs more easily, you can use this Python script:
from github import Auth, Github
from bs4 import BeautifulSoup
token = "access_token"
auth = Auth.Token(token)
g = Github(auth=auth)
repo = g.get_repo("sajjadium/ctf-archives")
README = repo.get_contents("README.md")
soup = BeautifulSoup(README.decoded_content, 'lxml')
for td in soup.find_all('td'):
href = td.a.attrs['href']
if href.startswith('https'):
continue
try:
repo.get_contents(href)
except:
print(td)
Applied your changes manually. Thank you.