Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum

Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section > Tutorials

Follow Vintage Erotica Forum on Twitter
Best Porn Sites Meet Our Girls Register FAQ Members List Calendar Mark Forums Read

Notices
Tutorials Step by step Guides and How to's with screengrabs.


Reply
 
Thread Tools Display Modes
Old 04-04-2018, 03:34 PM   #1
saint825xtc
Junior Member
 
Join Date: Aug 2016
Posts: 6
Thanks: 5
Thanked 9 Times in 5 Posts
saint825xtc 0
Default How to pull images from this site. Traditional methods don't work.

http://online.pubhtml5.com/vfof/guzu/#p=1

So I've tried all the methods that I'm aware of for bulk download but none of them have worked. I had to use Chrome developer view to find the source files and then click and save one at a time.

Using a bulk image downloader extension didn't work. It wasn't able to see any of the image files.

Any ideas?
saint825xtc is offline   Reply With Quote
The Following 2 Users Say Thank You to saint825xtc For This Useful Post:


Old 04-04-2018, 04:37 PM   #2
halvar
Journeyman
 
halvar's Avatar
 
Join Date: Jan 2008
Location: HH
Posts: 580
Thanks: 24,138
Thanked 7,319 Times in 570 Posts
halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+
Default

In cases like this I use wget. A command line tool available for practically every operating systems.

Using bash it can be invoked in a for loop:

HTML Code:
for x in $(seq 1 148); do wget http://online.pubhtml5.com/vfof/guzu/files/large/$x.jpg; done
If you don't know how to do a for loop you can easily create a windows-bat-file using a tool like excel with a line for every single image:

HTML Code:
wget http://online.pubhtml5.com/vfof/guzu/files/large/1.jpg
wget http://online.pubhtml5.com/vfof/guzu/files/large/2.jpg
wget http://online.pubhtml5.com/vfof/guzu/files/large/3.jpg
....
wget http://online.pubhtml5.com/vfof/guzu/files/large/148.jpg
execute the bat file and it will download all.

Maybe there are also tools with a nice GUI out there to do this.

Addendum: I forgot the -i param. You can create a text file containing urls and download them with
HTML Code:
wget -i myurls.txt

Last edited by halvar; 04-04-2018 at 04:41 PM.. Reason: forgot -i
halvar is offline   Reply With Quote
The Following 4 Users Say Thank You to halvar For This Useful Post:
Old 04-04-2018, 04:45 PM   #3
saint825xtc
Junior Member
 
Join Date: Aug 2016
Posts: 6
Thanks: 5
Thanked 9 Times in 5 Posts
saint825xtc 0
Default

Instead of a windows bat file, is there a mac alternative?
saint825xtc is offline   Reply With Quote
The Following User Says Thank You to saint825xtc For This Useful Post:
Old 04-04-2018, 04:55 PM   #4
halvar
Journeyman
 
halvar's Avatar
 
Join Date: Jan 2008
Location: HH
Posts: 580
Thanks: 24,138
Thanked 7,319 Times in 570 Posts
halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+
Default

Mac is even easier, since you have a bash terminal and curl!

Run Terminal and type
HTML Code:
curl --version
to test if you have curl installed.

If it is installed then execute
HTML Code:
for x in $(seq 1 148); do curl -o $x.jpg http://online.pubhtml5.com/vfof/guzu/files/large/$x.jpg; done
I am doing this with Linux, but it should work on Mac too.
halvar is offline   Reply With Quote
The Following 2 Users Say Thank You to halvar For This Useful Post:
Old 04-04-2018, 06:31 PM   #5
saint825xtc
Junior Member
 
Join Date: Aug 2016
Posts: 6
Thanks: 5
Thanked 9 Times in 5 Posts
saint825xtc 0
Default

That worked great Halvar!

Just so i can educate myself, would you mind translating that code a bit. It looks like you are telling it, "whenever you see 'x' after $, write a sequential number starting at 1 and ending at 148."

do curl -o (is this one command or is this 2 different sections? ie. do curl and -o)

Then you use the URL but substitute the page number with "$x".

I know some basic html/css programming but that's about the extent of my code knowledge.

Would there be a way to do this if each image had a name and not a number?
saint825xtc is offline   Reply With Quote
The Following 2 Users Say Thank You to saint825xtc For This Useful Post:
Old 04-04-2018, 07:06 PM   #6
halvar
Journeyman
 
halvar's Avatar
 
Join Date: Jan 2008
Location: HH
Posts: 580
Thanks: 24,138
Thanked 7,319 Times in 570 Posts
halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+
Default

HTML Code:
for x in $(seq 1 148) do
means do the following command with the numbers from 1 to 148 (148 times)

This is because
Code:
seq 1 148
returns the numbers from 1 to 148. You can execute "seq 1 5" in Terminal to get the idea

$x is a placeholder for the current value.

Code:
curl -o $x.jpg http://online.pubhtml5.com/vfof/guzu/files/large/$x.jpg;
is one command which is terminated by ";"
The "-o $x.jpg" is an option meaning save this as 1.jpg, 2.jpg and so on.

A more simple example printing the numbers 3 to 5:
Code:
for foo in $(seq 3 5); do echo $foo; done;
Sometimes you need leading zeros:
Code:
for foo in $(seq -w 3 10); do echo $foo; done;
You can provide a list of names, but you have to spell them out:
Code:
for v in foo bar "foo bar"; do echo ${v}; done;
* If a value contains blanks it has to be quoted ("foo bar")
* Sometimes the placeholder has to be in curly braces ${v}

Just toy around a bit to get the hang of it. I am not a bash scripting expert myself, but I often find it rather useful. Here is a very good documentation: http://tldp.org/LDP/Bash-Beginners-Guide/html/
halvar is offline   Reply With Quote
The Following 2 Users Say Thank You to halvar For This Useful Post:
Old 04-04-2018, 07:25 PM   #7
saint825xtc
Junior Member
 
Join Date: Aug 2016
Posts: 6
Thanks: 5
Thanked 9 Times in 5 Posts
saint825xtc 0
Default

That is super helpful Halvar. I appreciate it.

Do you have any ideas on how to pull the image files from these 2 sites. I couldn't find the source location of the images.

http://magzus.com/read/penthouse_let...pril_2017_usa/
This one has an option for "reading online" which opens up a frame and allows you to flip through the pages.


This other site I was able to find the source but it doesn't appear to be in sequential order and the file name structure seems to change. I'm not sure how to handle this one either.
http://openbook.hbgusa.com/openbook/9781455531356
saint825xtc is offline   Reply With Quote
The Following User Says Thank You to saint825xtc For This Useful Post:
Old 04-05-2018, 05:09 AM   #8
halvar
Journeyman
 
halvar's Avatar
 
Join Date: Jan 2008
Location: HH
Posts: 580
Thanks: 24,138
Thanked 7,319 Times in 570 Posts
halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+halvar 25000+
Default

Quote:
Originally Posted by saint825xtc View Post
Do you have any ideas on how to pull the image files from these 2 sites. I couldn't find the source location of the images.
Sorry, here I cannot help. The first seems to use Adobe Flash which I do not have. If Flash is used, you won't find images on the html page. Flash bypasses the browser.

On the second only the first couple of pages are available without buying. And what is visible are not images but text.

This does not surprise me, sites usually know how to protect their stuff.
halvar is offline   Reply With Quote
The Following 2 Users Say Thank You to halvar For This Useful Post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 07:53 PM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.