Search squid archive

Re: only few youtube videos regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since youtube videos are based on the main url like for example:
http://www.youtube.com/watch?v=pqky5B179nM

So each and every url which directs to this url using the video id if it is the video you want to block should be blocked.
What python script have you tried to use?
If you would give me the basic structure I would be able to do something with it.

For now the code I do have is at:
http://wiki.squid-cache.org/EliezerCroitoru/Drafts/PythonHelper

If there is someone out there that has ada language code for a similar helper I will be happy to see it.

All The Bests,
Eliezer

On 21/01/14 14:43, amphisia pui wrote:
Now I should allow 10 videos on youtube site but deny all others.
I tried to use "urlpath_regex" and a python script as
"redirect_program" but without success.

Please can you suggest the best way to do it knowing only the youtube video id?

Thanks to all

AP





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux