Search on text

J

Josh Cheek

[Note: parts of this message were removed to make it a legal post.]

I have a text
<html>
........
site.imageList = {
images: [['http://site/1.jpg', 'http://site/2.jpg',
'http://site/3.jpg' <http://site/3.jpg'>]]
};
..............
</html>

I get this text through

Nokogiri::HTML(open(@url))

Full text of this full page of the website is only part of which I need
to get just that I need the values

how I can get an array links ?
# => [http://site/1.jpg', 'http://site/2.jpg', 'http://site/3.jpg]
Are you saying the page you are parsing returns code (like a pastebin or a
gist) and you wish to parse the code?
 
U

Unc88 Unc88

Josh said:
Are you saying the page you are parsing returns code (like a pastebin or
a
gist) and you wish to parse the code?

This java script code, which includes links to those pictures that I
want to download from their site.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
EmeliaBryc

Latest Threads

Top