Поправил общую карту с footprintaми
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user