Jump to content

Please Help me with fetch content from 2 sites in one code.


zit1343

Recommended Posts

Hi

I am fetching movie timings from yahoo showtimings.

way yahoo has its code setup, I can fetch

  • Movie name
    Movie Title
    Timings

To fetch movie poster it is impossible I think to fetch from the same code from the same page,

so I am using another site which allows me to fetch image result from their site, {google img ripper},

but thing is I must put image fetch code in same code as movie name, title, timings.

output such as

  • Movie name
    Movie Title
    Timings

can only be printed on screen by echo command.

so I was thinking of using like

 

 $image 'code to fetch image from tht site';
echo "$image";

 

Please help me,

if you want I can explain you better if you didnt understood me

Thank you.

Link to comment
Share on other sites

sorry

yes I did mean tht

forgot =.

 

I made this script which fetch movie shows times from yahoo showtimes,

it fetches everything other than movie poster.

so I decided to fetch poster from another site

this is part of code

http://dearcomputer.nl/gir/?q='.$number.'+poster&s=3&imgtype=any&nsfw=on

$number = has code to fetch the movie name from yahoo showtimes,

so I am using  $number to search and fetch movie poster from tht site

this is the test file for tht

hxxp://xxx.amazingsanantonio[dot]com/extra/test.php

currently this test file is searching for

http://dearcomputer.nl/gir/?q='.$number.'+poster&s=3&imgtype=any&nsfw=on

so thts why it is showing some random image.

 

so I want to comeup with code like either include this test.php file into my movie fetch code and echo it.

or write code to fetch within the file and echo tht.

 

hope this make more sense.

Thank you again

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.