GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Does anyone know how to (https://gfy.com/showthread.php?t=1089296)

EliteWebmaster 11-14-2012 04:55 PM

Does anyone know how to
 
display google image search results on a website? Let's say I have a topic "Bulldogs" and after a description of bulldogs, i want to list the first 10 images from google for Bulldog and the images embed directly showing the pics on my site, then the user can click on those images and it will take them to the destination url of the image.

So essentially, my website would directly show the first 10 images from here:
https://www.google.ca/search?hl=en&s...PYe6iwLowoGQCQ

Hope I am making sense :winkwink:

sarettah 11-14-2012 05:03 PM

Googles prefreed method would be https://developers.google.com/custom-search/v1/overview

Quote:

Pricing

Free quota

Usage is free for all users, up to 100 queries per day.

Paid Usage

Any usage beyond the free usage quota will fail if you are not signed up for billing. Once you have enabled billing, you will continue to receive 100 free queries per day. However, you will be billed for all additional requests at the rate of $5 per 1000 queries, for up to 10,000 queries per day.
Or you could scrape google images but they are pretty good at blocking.

Or you might be able to iframe the search query but then you won't see the clicks, etc.



.

EliteWebmaster 11-14-2012 05:10 PM

Thanks sarettah :) I tried using google's api but it was not that good and the 100 query limit is going to be an issue. Maybe an iframe might do the trick. Any ideas on how to do it?

DamianJ 11-14-2012 05:14 PM

You don't seem as elite as your name suggests...

EliteWebmaster 11-14-2012 05:15 PM

LOL yeah not feeling too Elite these days.

sarettah 11-14-2012 05:19 PM

Quote:

Originally Posted by EliteWebmaster (Post 19313801)
Thanks sarettah :) I tried using google's api but it was not that good and the 100 query limit is going to be an issue. Maybe an iframe might do the trick. Any ideas on how to do it?

Not sure how you would limit it to just the first 10 results other than to size the iframe to whatever size 10 results fit in and then shut off the scroll bars.

.

EliteWebmaster 11-14-2012 05:24 PM

I was thinking of something like this below but limiting the variable to 10 results.

<?php
// Get URL variable "u"
$url = $_GET['u'];

// Now you have some choices to make
// whether or not to include "http://" with the URL or not

// "http://" is not included, so add it on ...
$url = "http://".$url;

// Now display your <iframe> ...
echo"
<iframe src='$url'" style="border:1px 348 solid;" name="iframe_name" scrolling="yes" frameborder="0" align="center" height="px" width="200px">
</iframe>
";

?>

Killswitch 11-14-2012 05:26 PM

Scraping them isn't hard, but I highly suggest against embedding the images as that's hotlinking and is found upon. Now saving them to your own server is doable though.

EliteWebmaster 11-14-2012 05:31 PM

Scraping would be my first choice. Any chance you could whip up a quick script that can do it :D. You did a great job with that advance GFY Ignore feature ;)

woj 11-14-2012 05:36 PM

If you are looking to invest a few bucks, icq: 33375924 or woj at wojfun dot com, we can work out some solution for this...

DamianJ 11-14-2012 05:39 PM

Quote:

Originally Posted by Killswitch (Post 19313838)
Scraping them isn't hard, but I highly suggest against embedding the images as that's hotlinking and is found upon. Now saving them to your own server is doable though.

Frowned upon.

Did you graduated high school?

Killswitch 11-14-2012 06:07 PM

Quote:

Originally Posted by EliteWebmaster (Post 19313842)
Scraping would be my first choice. Any chance you could whip up a quick script that can do it :D. You did a great job with that advance GFY Ignore feature ;)

Quote:

Originally Posted by woj (Post 19313850)
If you are looking to invest a few bucks, icq: 33375924 or woj at wojfun dot com, we can work out some solution for this...

I am busy, but I highly suggest woj here, as he's an excellent dude.

Quote:

Originally Posted by DamianJ (Post 19313854)
Frowned upon.

Did you graduated high school?

http://i.imgur.com/XfvmW.jpg

EliteWebmaster 11-14-2012 06:23 PM

Quote:

Originally Posted by Killswitch (Post 19313902)
I am busy, but I highly suggest woj here, as he's an excellent dude.

Sounds good I'll keep that in mind. I downloaded a google scraper and it's pretty decent. Only downside is that it only downloads 64 images even though it advertises that it can download up to 2000 images.

EliteWebmaster 11-14-2012 06:24 PM

Quote:

Originally Posted by woj (Post 19313850)
If you are looking to invest a few bucks, icq: 33375924 or woj at wojfun dot com, we can work out some solution for this...

Thanks wojfun, sounds good, I'll definitely keep you in mind. Can design something that can scrape info/images from backpage?

woj 11-14-2012 06:26 PM

Quote:

Originally Posted by EliteWebmaster (Post 19313928)
Thanks wojfun, sounds good, I'll definitely keep you in mind. Can design something that can scrape info/images from backpage?

don't see why not, icq me and we'll work out specifics...

EliteWebmaster 11-14-2012 06:29 PM

Quote:

Originally Posted by woj (Post 19313936)
don't see why not, icq me and we'll work out specifics...

Sounds good, I"ll hit you up tomorrow and we can discuss it :thumbsup

junction 11-14-2012 09:17 PM

Woj has done work for me, including a scraper. He's my #1 choice when I need work done.


All times are GMT -7. The time now is 06:21 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123