fix: use kwork.ru instead of api.kwork.ru for cookie compatibility

This commit is contained in:
root 2026-03-29 21:59:53 +00:00
parent ffb3248e8e
commit e5aad83837
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 18,
"id": "f28552f1-618c-4853-92e2-566554a2de2c", "id": "f28552f1-618c-4853-92e2-566554a2de2c",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
@ -12,7 +12,7 @@
"True" "True"
] ]
}, },
"execution_count": 16, "execution_count": 18,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -28,7 +28,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 19,
"id": "953d142e-a575-41b7-927d-8cd1546d2747", "id": "953d142e-a575-41b7-927d-8cd1546d2747",
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [

View File

@ -80,7 +80,7 @@ class KworkClient:
Рекомендуется использовать `async with` для корректного освобождения ресурсов. Рекомендуется использовать `async with` для корректного освобождения ресурсов.
""" """
BASE_URL = "https://api.kwork.ru" BASE_URL = "https://kwork.ru"
def __init__( def __init__(
self, self,