Hi i want a tool or a script for a bat file .. OR Anything u could provide me with that i can use to do this
What i want is "Image location" of every image of a web page not link location but "Image Location" ...
for example this is what i do to Extract all image loacation frm a webpage ...
in FireFox i use Tools >> Page info >> Media
and copy the links manually which is HECTIC and TIME CONSUMING with 200+ pages
now this is what i want help with
for example i want to extract all image link location from the website
Code:hxxp:/ww.nicole-scherzinger.net/gallery/thumbnails.php?album=lastup&cat=0
A) i want help for a tool or script that will automatically do that for me and save it in a DOC or a Notepad
B) if possible will directly go to the next page ie
if u see here only the part "&page=2" is added to the link ... so we can build up a script that will progressCode:hxxp:/ww.nicole-scherzinger.net/gallery/thumbnails.php?album=lastup&cat=0&page=2
+1 after each page links is extracted ... so it will automatically do "&page=3" , "&page=4" ETC ...
Even if "A" is possible its Ok smile.gif
---
its not HACKING that i am requesting for ... cause taking image locations is not HACKING ... its juzt a small
request cause i want image links of the Thumbnails ..
I appreciate u reading this post
plz do reply even if have any querries relating this ...
Thank You,
Deepnx ..
I don't think this would be done in a .bat file. Maybe a PHP script, that would then save all the links of it into a text file. It wouldn't be that hard to be honest.
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
thnx for the reply Brandon W
i am a total noob in this matter
n i juz have this script with me u can test it on Nicole Schnizer website i hv posted above ..
tht reveals all the image links in the siteCode:javascript:function collect(){ a="";e=document.getElementsByTagName("img");for(i=0;i<e.length;i++){ a+=e[i].src+"<br />"; } document.body.innerHTML=a; }; void(collect());
i just want all these image links of all the pages available in that site to be copied into a TXT file in one go !
thnx ...
OK, I don't know if you how to do PHP but this is how I would do it.
I just found this script on Google. I was going to write one if I didn't but this should do what you need.
You will just need to edit a few things to make it work. I got it from here. And there you can download the include as well.Code:include("phpHTMLParser.php");
$content = file_get_contents("http://www.onderstekop.nl/");
$parser = new phpHTMLParser("$content");
$HTMLObject = $parser->parse_tags(array("a", "title"));
$aTags = $HTMLObject->getTagsByName("a");
foreach ($aTags as $a) {
if ($a->href != "") {
echo $a->href . "<br/>";
echo $a->innerHTML . "<br/><br/>";
}
}
?>
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks