Виджет с усреднёнными точками на карте
This commit is contained in:
@@ -40,7 +40,7 @@ def get_footprint_data(position: str = 62) -> dict:
|
||||
|
||||
def get_all_page_data(url:str = 'https://www.satbeams.com/footprints') -> dict:
|
||||
"""Возвращает словарь с данными по всем спутникам на странице"""
|
||||
response = requests.get(url, verify="/etc/ssl/certs/ca-certificates.crt")
|
||||
response = requests.get(url)
|
||||
response.raise_for_status()
|
||||
match = re.search(r'var data = ({.*?});', response.text, re.DOTALL)
|
||||
if match:
|
||||
|
||||
Reference in New Issue
Block a user