10 2022 档案
摘要:import os.path import requests from lxml import etree import xlwt import xlrd def create_excel(): if not os.path.exists('./lianjia_excel.xls'): book =
阅读全文
摘要:import os.path import requests from lxml import etree if __name__ == '__main__': if not os.path.exists('./jianli'): os.mkdir('./jianli') headers = { '
阅读全文
摘要:import os.path import requests from bs4 import BeautifulSoup if __name__ == '__main__': if not os.path.exists('./sanguoyanyi'): os.mkdir('./sanguoyany
阅读全文
摘要:import os.path import re import requests if __name__ == '__main__': # 如果不存在该文件夹则进行创建 if not os.path.exists('./saimenshibo'): os.mkdir('./saimenshibo')
阅读全文