Answer the question
In order to leave comments, you need to log in
How to iterate through pages in mechanize?
def downloadImages
@images = []
@images = @page.images_with(src: /upload/)
@images.each do |img|
img.fetch.save
end
end
def clickOn
@goods.each do |link|
link.click
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question