作者:
oz5566 (阿康)
2018-12-17 13:41:17用select擷取出我們要的資訊在哪個區域
這是啥意思
job_box = soup.select(".job_box")[0]
job_box.select('.joblist_cont')[0]
job_name = joblist.select('a')[0]['title'] #job name
com_name = joblist.select('a')[1]['title'] #company name
edu = joblist.select(".edu")[0].text.replace('\t','').replace('\r\n','') #學
歷
area = joblist.select(".area")[0].text.replace('\t','').replace('\r\n','') #工
作地點在哪個市區
job_url = "https://www.104.com.tw" + joblist.select('a')[0]['href'] #職
缺網頁
com_url = "https://www.104.com.tw" + joblist.select('a')[1]['href'] #公
司簡介網頁
為啥我打上去顯示