Добавил URL flaresolverr в переменные среды

This commit is contained in:
2025-12-05 11:12:22 +03:00
parent 09bbedda18
commit 9c095a7229
2 changed files with 4 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import logging
from .parser import LyngSatParser
from .models import LyngSat
from mainapp.models import Polarization, Standard, Modulation, Satellite
from dbapp.settings.base import FLARESOLVERR_URL
logger = logging.getLogger(__name__)
@@ -50,7 +51,7 @@ def fill_lyngsat_data(
try:
parser = LyngSatParser(
flaresolver_url="http://localhost:8191/v1",
flaresolver_url=FLARESOLVERR_URL,
target_sats=target_sats,
regions=regions
)