Why doesn't my code?

Hi all, here is a small piece of the parser, it is not clear why it does not work, please help to understand!
error
AttributeError: 'NoneType' object has no attribute 'body'

the weird thing is that yesterday everything worked, nothing changed

link = requests.get("http://www.povarenok.ru/recipes/")
page1 = BeautifulSoup(link.text)
linker = page1.html.body.findAll("table", "uno_recipie") # looking for table with reference
for row in linker:
 link = row.h1.a["href"] # filtered the table on the href tag
 print(link)
July 2nd 19 at 17:51
1 answer
July 2nd 19 at 17:53
Solution
find_allor findAll?
and so and so works - Benny50 commented on July 2nd 19 at 17:56
and no, it's still the case, but then the second question, why so! and that variant is working correctly but in this case with an underline. worked yesterday so a findAll is not working today. delirium what is - Benny50 commented on July 2nd 19 at 17:59
: I'm not an expert on BeautifulSoup and python.

But pomoymu so s top:

page1.select("#container .uno_recipie") - barney.Schroeder90 commented on July 2nd 19 at 18:02
so again stopped working. can website it is connected ? of their network connectivity, it might not be stable - Benny50 commented on July 2nd 19 at 18:05
Then take a look at BeautifulSoup inside.
There are errors with the network?

Yes, and add the agent at least

url = "www.povarenok.ru/recipes"
r = requests.get(url, headers={
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36"
}) - barney.Schroeder90 commented on July 2nd 19 at 18:08
: 503 ошибка, Service Unavailable — сервер временно не имеет возможности обрабатывать запросы по техническим причинам (обслуживание, перегрузка и прочее)

это я так понимаю у них проблема, а может быть такое что меня по ip там могут блокировать ? - Benny50 commented on July 2nd 19 at 18:11
:
503 is a server error. But You are most likely to ban.
Have a good night. Here not a chat. - barney.Schroeder90 commented on July 2nd 19 at 18:14
: now the error has changed TypeError: 'NoneType' object is not callable, and respons now 200 - all right, what nonsense is happening - Benny50 commented on July 2nd 19 at 18:17
: thank you - Benny50 commented on July 2nd 19 at 18:20
In BS3 was findAll https://www.crummy.com/software/BeautifulSoup/bs4/... - stephan_Dickinson commented on July 2nd 19 at 18:23
: use proxy - robbie_Macejkovic62 commented on July 2nd 19 at 18:26
: + - barney.Schroeder90 commented on July 2nd 19 at 18:29

Find more questions by tags ParsingBeautiful SoupPython