摘要:
from bs4 import BeautifulSoup from urllib.request import urlopen import re import random base_url = "https://baike.baidu.com" his = ["/item/%E7%BD%91%E7%BB%9C%E7%88%AC%E8%99%AB/5162711"] for i in ... 阅读全文
摘要:
menu={ "北京":{ "朝阳":{...}, "昌平":{ "沙河":{ "老男孩":{}, "阿泰包子":{}, }, "天通苑":{...}, "回龙观":{}, }, "海淀":{...}, }, "上海":{...}, "山东":{...},}current_layer = menup 阅读全文