Commit 6250ed61 by thanhnd

shorten CSS selector .

parent d8e11b39
Pipeline #461 failed with stages
in 0 seconds
...@@ -16,7 +16,6 @@ namespace :crawler do ...@@ -16,7 +16,6 @@ namespace :crawler do
#get link for next page #get link for next page
np = Nokogiri::HTML(open(list_url)) np = Nokogiri::HTML(open(list_url))
#nextpage = np.css('html body.jobseeker_site.A-Bootstrap div#uni_wrapper div#uni_container div.cb-container div.col-sm-12.col-md-9.col-ListJobCate div.paginationTwoStatus a.right')
nextpage = np.css('div.paginationTwoStatus a.right') nextpage = np.css('div.paginationTwoStatus a.right')
puts nextpage[0]["href"] puts nextpage[0]["href"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment