v1:初始化engine,将请求区分开

This commit is contained in:
2026-06-10 11:03:25 +08:00
parent 6a9d3e4402
commit 0253afdb6b
+1
View File
@@ -14,6 +14,7 @@ class Baidu_Spider():
for url in self.start_urls:
reponse = requests.get(url)
print(reponse)
print(reponse)
if __name__ == '__main__':
spider = Baidu_Spider()