Grabbing images from google/yahoo

Discussion in 'PHP' started by Awesome Ninja, May 21, 2008.

  1. #1
    Hey what would be the code to grab images from google? If this is not possible what about yahoo they have an api, after grabbed insert details into database, image url, image title/description and size and width and format.

    Thanks
     
    Awesome Ninja, May 21, 2008 IP
  2. chenyaniv

    chenyaniv Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you should get the html from the query request.
    then search for an image with regex and get her title desc and etc from there with string staff or regex.

    i wont give you the exect code but now you have better know what to do.
     
    chenyaniv, May 21, 2008 IP
  3. Awesome Ninja

    Awesome Ninja Peon

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I know this already but im not good with regex
     
    Awesome Ninja, May 21, 2008 IP