parent
dcae430498
commit
6300044286
|
@ -15,7 +15,6 @@ class DagongSpider(scrapy.Spider):
|
|||
def __init__(self):
|
||||
self.bro = webdriver.Chrome(executable_path='D:\pythondemo\crawler\chromedriver.exe')
|
||||
|
||||
|
||||
def parse(self, response):
|
||||
li_list = response.xpath('/html/body/div[2]/div/div[2]/ul[2]/li[2]/div/ul/li')
|
||||
alist = [8] # [0内地, 2香港, 4两岸, 6国际, 8军事]
|
||||
|
|
Loading…
Reference in New Issue