def get_content(html):
soup = BeautifulSoup(html, 'html.parser')
test=[]
table = soup.find('div', class_='table-wrapper')
for rows in table.find_all('tr')[1:]:
test.append({'Пункт вещания':[city.text for city in rows.find_all('td')]})
return test
def outfile(test):
print(test)
content = get_content(html)
outfile(content)
textures
должно быть числом, у вас другое что-то users/<int:id>/<str:name>
users/123/smadjl
(без трейлинг слеша)users/12121/smadjl/
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-buil...