TypeError: the JSON object must be str, bytes or bytearray, not BeautifulSoupimport requests # модуль для парсинга
from bs4 import BeautifulSoup #модуль для парсинга
import json
s = requests.Session()
loging = s.get(URL, headers=HEADERS, params=None)
soup = BeautifulSoup(loging.content, 'html.parser')
json_dat = json.loads(soup) soup = BeautifulSoup(loging.content, 'html.parser')json_dat = json.loads(soup)TypeError: the JSON object must be str, bytes or bytearray, not BeautifulSoup