11 lines
300 B
Python
11 lines
300 B
Python
from requests_html import HTMLSession
|
|
from domains_list import DOMAINS
|
|
|
|
for domain in DOMAINS:
|
|
URL = f"https://{domain}"
|
|
session = HTMLSession()
|
|
resp = session.get(URL)
|
|
title = resp.html.find('head > title', first=True)
|
|
group_name = title.text.split("|")[0]
|
|
print(group_name)
|