摘要:
中间用了Jqurey模块及一些JS的操作。 阅读全文
摘要:
最后几行代码应该是个bug,不知道怎么处理,在最后一两步,需要大神 阅读全文
摘要:
class Dog: role = 'Dog' def __init__(self,name,breed,attack_val): self.name = name self.breed = breed self.attack_val = attack_val self.life_val = 100 def ... 阅读全文
摘要:
中间有点小不足,太懒了,没把名字给写上去。爬虫慢慢娴熟了,后面要学习更精湛的技术了,就是反反反。。。爬虫技术。哈哈哈 阅读全文
摘要:
import requests from lxml import etree url = 'https://sz.58.com/ershoufang/' headers = {'User-Agen':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UB... 阅读全文
摘要:
第三天爬虫实战,加了正则表达式,学点东西辛辛苦苦不容易。 阅读全文
摘要:
import requests import json headers = {'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/6.2.4098.3 Safari/537.36'} url = 'http://w... 阅读全文