VideoCache
Videocache is no longer in development.

video.google.com is not cached

by bellera on 20 Dec 2008

Hello!

The videocache.py code for Google videos is not working:

if host.find('vp.video.google.com') > -1 and path.find('videodownload') > -1:

I tried to cache Google videos and doesn’t work. For example:

http://video.google.com/videoplay?docid=-8996836251682690877&ei=RIdLSa2KJY6EjALbxvjLCw&q=motor&emb=1

Google uses also localisation. This means that the same video can be found at different video.google.tld: video.google.com, video.google.es, video.google.cat, video.google.fr, video.google.pl, … The same path is used after video.google.tld/

In my case, users go to google.com, google.es and google.cat. They navigate using English, Spanish or Catalan.

Regards,

Josep Pujadas

9 Answers

by Kulbir Saini on 20 Dec 2008

Hello Josep,

I never noticed that as I always navigated using video.google.com while working on videocache. As you have pointed out other tlds, I'll add support for it in the next version.

Thanks for the wonderful feedback :)

by bellera on 20 Dec 2008

Hello Kulbir,

Could you explain how you navigate using video.google.com?

I go to www.google.com.
I search "video".
I click to video.google.com.
I search "motor" for "videos playable on Google".
I choose the first video at video.google.com I see.
I play it:

http://video.google.com/videoplay?docid=-8996836251682690877&ei=WghNSemMM4jojgLJm-nJCw&q=motor&emb=1

and it is not cached (?).

Regards,

Josep Pujadas

by Kulbir Saini on 20 Dec 2008

Hello Josep,

I follow exactly the same procedure and it caches. I am surprised to see that its not caching for you. Any hints from /var/log/videocache/videocache.log? Can you paste your logfile on http://pastebin.com .

Thank you for using videocache :)

by bellera on 20 Dec 2008

Hello Kulbir,

Posted at http://pastebin.com/m55eed9f2

Note: Good tool pastebin.com!

Regards,

Josep Pujadas

by Kulbir Saini on 21 Dec 2008

Josep,

Your videocache doesn't seem to act for video.google.com which is strange. Did you change anything in the code or configuration?

Thank You.

by bellera on 21 Dec 2008

Hello Kulbir,

No, I didn't (for the code and for the configuration).

I tried with videocache only (without squidGuard) and obtained the same result.

I’m not a Python programmer but I think that:

  • videocache.py code looks for video.google.com host.
  • My log looks for eyehpr.vp.video.l.google.com host.

and

  • videocache.py code looks for videodownload.
  • My log looks for videoplayback.

Google is very big. Perhaps they have different access for my geographical zone.

Regards,

Josep Pujadas

by bellera on 21 Dec 2008

Hello!

I tried other videos and I got the following hostnames:

eyehgg.vp.video.l.google.com
ehkcmu.vp.video.l.google.com

Please see http://www.robtex.com/dns/vp.video.l.google.com.html

and

http://www.longtailvideo.com/support/forum/Setup-Problems/14616/Google-Video-and-the-JW-player

where it says:

"But since a few days Google changed the urls retrieved from ..."

Regards,

Josep Pujadas

by Kulbir Saini on 22 Dec 2008

Hi Josep,

Nice finding. I have added this to my todo list. Will push it upstream soon.

Thank You.

by Kulbir Saini on 22 Dec 2008

Hi!

Thank you for providing the useful information. It'll help me fix the issue.

Thanks for using videocache :)