You are hereForums / Suggestions / Video keywords

Version 1.9.9 is out. We have added support for Youtube mobile videos, Facebook, AOL and MySpace videos as well. Fixed caching issues for some already supported websites. Options to control cache directory selection algorithm, bandwidth usage by videocache, etc. More robust videocache scheduler with a lot more options and features. Have a look at changelog for more details. If you have purchased Videocache in last one year, Contact Us to claim your free upgrade. Please mention the email address using which you purchased Videocache. New users proceed to Pricing Page right now, secure your copy and enjoy caching :-) Also, check our new and simplified upgrade policy :-)

Video keywords


5 replies [Last post]
Offline
Joined: Dec 18 2008
Video keywords
Printer-friendly versionSend to friend

Hello!

At our school we use squid with squidGuard + videocache.

With the caches (squid and videocache) and squidGuard (no add-ons) we can optimize our Internet connection. SquidGuard filters also undesirable contents for children.

But in same circumstances, specially the large video sites like youtube.com, there are adult contents difficult to detect.

For example, I found cached
http://www.youtube.com/watch?v=-5SglF2dazA
not market at youtube.com as adult content.

More than that. “Related videos” link at youtube.com page permits to go to a lot of similar videos. No way for squidGuard to detect this problem.

I was thinking if it would be possible to store the keywords for videos cached. If would be a very interesting tool to surf the cache by keywords.

Perhaps a simple text file or XML file at site cache folder would be enough.

youtube.com API permits to obtain all the information about one video, http://code.google.com/intl/en/apis/youtube/1.0/developers_guide_python....

The ideal (for us) would be to integrate this video database with squidGuard filtering.

Make this at real time it is perhaps impossible. We redirect first to squidGuard and second to videocache, using zapchain.

The easiest would be (perhaps) to process the database with a shell script and to add the undesired videos to the squidGuard filtering.

The most complete solution would be to include a list of forbidden keywords to videocache. Like this videocache could test the keywords for the video and decide if it must be cached/served or must be redirected to an “access denied” page (as squidGuard does).

Regards,

Josep Pujadas

admin's picture
Online
Joined: Nov 2 2008

Hi Josep,

Well, I would say this is a really ambitious feature. But it involves a lot of hard work, dedication and above all a lot of time. Since I don't work full time on videocache and I have lot of other commitments, I can't really promise this feature in near future.

Thank You!

Offline
Joined: Dec 18 2008

Ok, thanks!

Looking at YouTube Data API I found the way to obtain the information about the video in a XML file:

http://gdata.youtube.com/feeds/api/videos/VIDEO_ID

The page http://gdata.youtube.com/demo/index.html permits to see the result. Just edit the [Resulting URI:] box with

/feeds/api/videos/VIDEO_ID

and yo will see the results at the [Response] box.

Regards,

Josep Pujadas

admin's picture
Online
Joined: Nov 2 2008

Hi Josep,

Thanks for doing all the research :) I would like to rephrase my words I said earlier to, "Well, its a cool feature. I would love to take some time out for it in near future after I finish up the current todo list.".

Thank for the interest :)

Offline
Joined: Dec 18 2008

Hello!

I’m writing a python redirector for squid that:

**** It tests if the URL belongs to youtube.com
**** It extracts the video_id
**** It queries gdata (Google/Youtube DB)
**** It extracts title and keywords for the video
**** It evaluates title and keywords against squidGuard denied regex expressions.

I called it video_redirector.py

I will try to put together (working with squid), using zapchain:

video_redirector.py -> squidGuard -> videocache.py

I think this will solve my problem, testing if a video from youtube.com must be filtered or not at our school.

Regards,

Josep Pujadas

admin's picture
Online
Joined: Nov 2 2008

Hi Josep,

First of all best of luck with your plugin task.

Secondly, I would suggest the name to be videofilter instead of video_redirector because you are filtering the videos instead of redirecting them :)

Also try to get rid of underscores and hyphens in program or software names because they sometime cause conflicts with certain operating systems. For example, check this.

Later, it can be merged into videocache with optional usage. I would have helped you with this but the lack of time is becoming a huge problem for me :(

Thank You!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, 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.

More information about formatting options

CAPTCHA
Are you a human visitor ?
Image CAPTCHA
Enter the characters (without spaces) shown in the image.

My Book on Squid

Purchase/Renew

One License - USD $399
One License - USD $349*
Validity - One Year
Need more? Contact Us
*Includes free upgrades and support for one year.



For details, check pricing.

Recent comments

Who's online

There are currently 1 user and 144 guests online.