Skip to content
Snippets Groups Projects
Commit 5dd73e87 authored by Robin Stecher's avatar Robin Stecher
Browse files

Added README.md

parent 6eb79189
Branches
No related tags found
No related merge requests found
.DS_Store 0 → 100644
File added
# University homepage analysis
## About
This is a small research project for a
submission in my second univsersity subject.
It is a script which should check common
university websites in germany for SSL-Encryption.
You can execute the python script by installing
python and running
```
python3 main.py
```
## Transparancy note
The list of university homepage URLs is generated
by ChatGPT (GPT-3 model).
\ No newline at end of file
......@@ -44,6 +44,10 @@ def get_only_http_domains(url_list: [str]) -> [str]:
return list(filter(filter_http_urls, url_list))
def count_urls_in_list(url_list: [str]) -> int:
return len(url_list)
if __name__ == '__main__':
# print('Hello World!')
# check_url_list_for_ssl('assets/university_main_pages.json')
......@@ -52,6 +56,9 @@ if __name__ == '__main__':
university_list = get_url_list('assets/university_main_pages.json')
# university_list = ['https://stecher42.de', 'https://go.stecher42.de']
result_list = get_all_urls_from_websites(university_list)
print(result_list)
print(get_only_http_domains(result_list))
# result_list = get_all_urls_from_websites(university_list)
# print(result_list)
# print(get_only_http_domains(result_list))
print(f'Count of universities: {count_urls_in_list(university_list)}')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment