Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 07-05-2010, 12:45 AM Wallpaper Spider...
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Is there such a way to scrape the web from a google query to find and extract images of a particular dimension? I know there's got to be a way to do this, but I haven't had any luck using wget under linux and can't seem to find a better way to scrape wallpapers of a particular dimension. Note: I don't want to put a starting website due to the limitations of only collection from one site, and I don't just want wallpapers from links off 'that' site if you know what I mean. This is what I would call 'The GOD of all image collectors'

If the above isn't quite possible, could you point me to a pretty close alternative? I am willing to try any language for this operation.

Note: By dimension, I mean the width x height. For example: 800 x 600, not the size like 6K in 'weight'

Thanks!
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 07-05-2010 at 12:46 AM..
Brian07002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-05-2010, 11:43 AM Re: Wallpaper Spider...
Extreme Talker

Posts: 246
Trades: 0
Yes it is possible, however there are legalities to using other peoples images that you may want to look into. Unfortunately I don't have the time to help write this but mostly wanted to warn you.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Old 07-05-2010, 12:43 PM Re: Wallpaper Spider...
Scorpil's Avatar
Average Talker

Posts: 18
Name: Andrew
Trades: 0
You can parse the output of query "imagesize:800x600 walpaper -screenshot".
Scorpil is offline
Reply With Quote
View Public Profile
 
Old 07-05-2010, 01:38 PM Re: Wallpaper Spider...
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Hi sorry for the late reply, but to clarify the usage, I wanted to put these on my IT...Just looks good on the IT...I don't think admiring others' artwork is actually illegal, is it? If you could post a working sample stbuchok or Scorpil, that would be terrific!

Btw, the artwork will be used as wallpaper generally. But all dimensions would be handy to be able to download in bulk. I've tried Windows tools, Linux tools (such as wget) and I can't find anything that will work universally. That's what I am looking for. I just want to run it in a folder and wait a while for the collection to finish.

Thanks in advance!
-Brian
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 07-05-2010 at 01:41 PM..
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 07-05-2010, 05:03 PM Re: Wallpaper Spider...
Scorpil's Avatar
Average Talker

Posts: 18
Name: Andrew
Trades: 0
I have not time to do this for myself, but i can show you some directions.

My favorite programming language is python, so i would recommend you to use it.

Here's one example: http://stackoverflow.com/questions/2...e-using-python
This script downloads all images from the current page. But it will not work correctly for google, it will only download thumbs. You need change variable named image. For example, typical url in that variable will look like this:
http://t2.gstatic.com/images?q=tbn:C-1usX9EcBprAM:http://www.hellokittykat.com/images/...lpaper-val.jpg
Look at the bold text. This part you must save, i.e your link should look like this:
http://www.hellokittykat.com/images/...lpaper-val.jpgYou can use regexps for this.

Now about url's that you will pass in the function main. It will look like this:
http://www.google.com/images?q=wallp...art=21&ndsp=21

Where:
q=wallpaper+-screenshot -- google query (plus instead of spaces)
tbs=isch:1,isz:ex,iszw:800,iszh:600 -- size of the image - 800x600
start=21 -- starting from pic number 21
ndsp=21 -- number of pics on the page - 21

Last edited by Scorpil; 07-05-2010 at 05:31 PM..
Scorpil is offline
Reply With Quote
View Public Profile
 
Old 07-06-2010, 01:30 PM Re: Wallpaper Spider...
Extreme Talker

Posts: 246
Trades: 0
Yes, it could be illegal if it's that person/companies intellectual property. I'm just trying to worn you that yes, it is possible to get in trouble for this.

For instance you are not allow to use Microsoft logos without written consent. I know you don't plan on using logos, but they are after all only images and could be caught in the mix (and that is just one of millions of companies)
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
stbuchok is offline
Reply With Quote
View Public Profile
 
Old 07-21-2010, 04:30 AM Re: Wallpaper Spider...
Novice Talker

Posts: 4
Name: Golden Smith
Trades: 0
I would also really like this wallpaper...I was just thinking about it an hour ago......someone please help?

Last edited by chrishirst; 07-21-2010 at 06:45 AM..
Golden Smith is offline
Reply With Quote
View Public Profile
 
Old 07-21-2010, 06:48 AM Re: Wallpaper Spider...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I can only hope that these two posts came from less than intelligent posting bots!!

Quote:
Originally Posted by ursimrankhanna View Post
Hi, such a nice and help full post. i m new in this field. this article help me a lot. thx for share.
Quote:
Originally Posted by Golden Smith View Post
I would also really like this wallpaper...I was just thinking about it an hour ago......someone please help?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Wallpaper Spider...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.59418 seconds with 12 queries