Поправил общую карту с footprintaми

This commit is contained in:
2025-11-27 17:36:23 +03:00
parent eba19126ef
commit 908e11879d
3 changed files with 666 additions and 447 deletions

View File

@@ -22,7 +22,7 @@ def search_satellite_on_page(data: dict, satellite_name: str):
def get_footprint_data(position: str = 62) -> dict:
"""Возвращает словарь с данным по footprint для спутников на выбранной долготе"""
response = requests.get(f"https://www.satbeams.com/footprints?position={position}", verify=False)
response = requests.get(f"https://www.satbeams.com/footprints?position={position}", verify=True)
response.raise_for_status()
match = re.search(r'var data = ({.*?});', response.text, re.DOTALL)
if match: