爬虫新手 想知道这个值为什么返回不了
1.在soup=BeautifulSoup(htm,'lxml')里的hml加上text,即写成htm.text 2.在最后,写上main(),调用main(),运行程序。
你函数定义了没有调用,加上main()
动态短效有