帮我用python写一个脚本爬取www.xiachufang.com的菜谱
import requests
from bs4 import BeautifulSoup
# 要爬取的页面 URL
url = 'https://www.xiachufang.com/category/40076/'
# 发送 GET 请求并获取响应内容
response = requests.get(url)
# 使用 BeautifulSoup 解析响应内容
soup = BeautifulSoup(response.content, 'html.parser')
# 查找所有的菜谱元素
recipes = soup.find_all('div', class_='info pure-u')
# 遍历所有的菜谱元素,并输出菜谱名称和URL
for recipe in recipes:
name = recipe.find(