摘要:
1.使用request爬取有效的URL # -*- coding: GBK -*- from urllib import request import re #爬取某个主页上的全部有效URL def crawb(): # 1. 确定好要爬取的入口链接 url = "http://www.baidu. 阅读全文
摘要:
1.文件写入 try { FileWriter fw = new FileWriter("aaaaa", true); String[] list={"Hello,world","Are you okay?","Do you know this one?"}; for (String item : 阅读全文