Jump to content

Recommended Posts

I am creating a project and part of it is that it takes videos from the web using this format:

http://cache.googlevideo.com/get_video?video_id=

 

I am still trying to work out how to make php download this file to a directory. I was wondering if antbody could help me out with this problem?

Link to comment
https://forums.phpfreaks.com/topic/68833-google-cache-and-php/
Share on other sites

first what are you trying to do?

 

if your scrapping the videos then you need an agreement with google.

 

8. Content in the Services

 

    8.1 You understand that all information (such as data files, written text, computer software, music, audio files or other sounds, photographs, videos or other images) which you may have access to as part of, or through your use of, the Services are the sole responsibility of the person from which such content originated. All such information is referred to below as the “Content”.

 

    8.2 You should be aware that Content presented to you as part of the Services, including but not limited to advertisements in the Services and sponsored Content within the Services may be protected by intellectual property rights which are owned by the sponsors or advertisers who provide that Content to Google (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this Content (either in whole or in part) unless you have been specifically told that you may do so by Google or by the owners of that Content, in a separate agreement.

 

if thats agreed then you could use

file_get_contents(); to pull the file in

Link to comment
https://forums.phpfreaks.com/topic/68833-google-cache-and-php/#findComment-346006
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.