You are hereForums / Bugs / video.google.com is not cached

Finally, the wait is over!!! Videocache 2.0.0 is here :-) Check changelog for changes and new features in this version. Contact Us for your free upgrade!!

video.google.com is not cached


9 replies [Last post]
Offline
Joined: Dec 18 2008
video.google.com is not cached

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=RIdLSa2K...

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

admin's picture
Offline
Joined: Nov 2 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 :)

Offline
Joined: Dec 18 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=WghNSemM...

and it is not cached (?).

Regards,

Josep Pujadas

admin's picture
Offline
Joined: Nov 2 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 :)

Offline
Joined: Dec 18 2008

Hello Kulbir,

Posted at http://pastebin.com/m55eed9f2

Note: Good tool pastebin.com!

Regards,

Josep Pujadas

admin's picture
Offline
Joined: Nov 2 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.

Offline
Joined: Dec 18 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

admin's picture
Offline
Joined: Nov 2 2008

Hi Josep,

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

Thank You.

Offline
Joined: Dec 18 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-V...

where it says:

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

Regards,

Josep Pujadas

admin's picture
Offline
Joined: Nov 2 2008

Hi!

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

Thanks for using videocache :)

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <code>
  • Lines and paragraphs break automatically.
  • HTML tags will be transformed to conform to HTML standards.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters shown in the image.

My Book on Squid

Purchase/Renew

Go to Pricing page to purchase a new license or renew your existing license.

Recent comments

Who's online

There are currently 0 users and 205 guests online.