File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,11 @@ class Blackbox(AsyncGeneratorProvider, ProviderModelMixin):
86
86
87
87
@classmethod
88
88
async def fetch_validated (cls ):
89
- # Якщо ключ вже збережений в пам'яті, повертаємо його
89
+ # If the key is already stored in memory, return it
90
90
if cls ._last_validated_value :
91
91
return cls ._last_validated_value
92
92
93
- # Якщо ключ не знайдено, виконуємо пошук
93
+ # If the key is not found, perform a search
94
94
async with aiohttp .ClientSession () as session :
95
95
try :
96
96
async with session .get (cls .url ) as response :
@@ -111,7 +111,7 @@ async def fetch_validated(cls):
111
111
match = key_pattern .search (js_content )
112
112
if match :
113
113
validated_value = match .group (1 )
114
- cls ._last_validated_value = validated_value # Зберігаємо в пам'яті
114
+ cls ._last_validated_value = validated_value # Keep in mind
115
115
return validated_value
116
116
except Exception as e :
117
117
print (f"Error fetching validated value: { e } " )
You can’t perform that action at this time.
0 commit comments