03 2020 档案
摘要:备份源 mv /etc/yum.repos.d/CentOS Base.repo /etc/yum.repos.d/CentOS Base.repo.backup 2、下载新的CentOS Base.repo 到/etc/yum.repos.d/ CentOS 5 (目前已经停用了,无效) wget
阅读全文
摘要:https://blog.csdn.net/sinat_32651363/article/details/87880225 https://blog.csdn.net/sinat_32651363/article/details/87882067 https://blog.csdn.net/sina
阅读全文
摘要:xpath速度确实快....bs_info = bs(restext, 'lxml')selector = lxml.etree.HTML(restext)s1 = time.time()rank=selector.xpath('//*[@class="pic"]//em/text()')e1 =
阅读全文
摘要:select方法能用css选择器,非常友好,于是想对比一下是否效率上更优秀 s1=time.time() star=[x.text for x in bs_info.find_all('span',{'class':'rating_num'})] e1 = time.time() print(e1-
阅读全文
浙公网安备 33010602011771号