HTTrack Website Copier
Free software offline browser - FORUM
Subject: images wrapped in script
Author: tabi
Date: 08/27/2012 19:42
 
hello,

im new and yet another img download question but i'd like to know more the
possibility to achieve a download with these circumstances:

a) you can not browse the file folder
b) files + folders are named random
c) heavy script usage

here is an example of the site structure:

...
main: 
 <http://www.mangaeden.com/en-manga/beautiful-people/>

pagespath+image folder:
 1 <http://www.mangaeden.com/en-manga/beautiful-people/0/1/>
 1 <http://1.1.1.3/bmi/cdn.mangaeden.com/mangasimg>
/69/69f7ce48a1f14d733878cf5343cf5abe17f2079563871cc9a2b5143a.jpg

 2 <http://www.mangaeden.com/en-manga/beautiful-people/0/2/>
 2
<http://1.1.1.3/bmi/cdn.mangaeden.com/mangasimg/8f/8f55a4fdfed5d6f50d6b143c1a94a63714e295cbb86f240ab752e140.jpg>

 3 <http://www.mangaeden.com/en-manga/beautiful-people/0/3/>
 3
<http://1.1.1.1/bmi/cdn.mangaeden.com/mangasimg/b9/b94be27fa2d9984012bf3ea155c0ff1ea50a35f19d0a3461117ad874.jpg>
...


this way of storing the pictues is similar to other sites displaying manga
code snippet page2

a quicklink (kinda pagepath) at the top to every image page looks like this:

...
<a class="ui-state-default" href="/en-manga/beautiful-people/0/35/">35</a>
...

//the script to load the files from the folder (i added some linebreaks):

...
<script type="text/javascript">
 var next = '/en-manga/beautiful-people/0/3/';
 var prev = '/en-manga/beautiful-people/0/1/';
</script>

<div id="pageInfo" class="ui-state-default">2 of 80</div>

<center>
<div id="imageBox" style="width: 1580px;">
<div id="image" style="width:  1400px;">
<a id="nextA" href="/en-manga/beautiful-people/0/3/">
<div id="mainImgC" style="height:1107px;">

//main part starts here:

<img width="1400" height="1107" id="mainImg"
src=http://1.1.1.3/bmi/cdn.mangaeden.com/mangasimg/8f/8f55a4fdfed5d6f50d6b143c1a94a63714e295cbb86f240ab752e140.jpg
alt="Manga Beautiful People - Chapter 0 - Page 1" onload="$.get(next); 
 var nextimg = new Image(); nextimg.src =
<http://cdn.mangaeden.com/mangasimg/b9/b94be27fa2d9984012bf3ea155c0ff1ea50a35f19d0a3461117ad874.jpg;">;
onerror="this.src=http://static.mangaeden.com/mangasimg/8f/8f55a4fdfed5d6f50d6b143c1a94a63714e295cbb86f240ab752e140.jpg;"
/>
</div></a>
...

my question is httrack capabale of doing such a task and even rename the
filenames using the page number or just putting an increment?if it would be
capable i could dig in to the manual and try to read in but it would be in
vain to discover later it is not possible so im asking the pros 1st.

greetings

tabi
 
Reply


All articles

Subject Author Date
images wrapped in script

08/27/2012 19:42
Re: images wrapped in script

08/27/2012 20:06
Re: images wrapped in script

08/28/2012 21:32
Re: images wrapped in script

08/29/2012 14:42
Re: images wrapped in script

08/29/2012 20:27
Re: images wrapped in script

08/29/2012 21:45
Re: images wrapped in script

08/30/2012 12:20
Re: images wrapped in script

08/30/2012 12:24




8

Created with FORUM 2.0.11