You are hereForums / Support / youtube change url of videos and cache not working

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 :-)

youtube change url of videos and cache not working


3 replies [Last post]
Anonymous
youtube change url of videos and cache not working
Printer-friendly versionSend to friend

Well my videocache not working some days ago with youtube, and I see a extrange urls for video files of youtube.

example:
v11.lscache8.c.youtube.com

i think that this is easy for correct in the code of videocache for the admin and coders of phython help me in this problem plz

thanks a lot.

head (not verified)

hi, i am head
have problem with youtube cache

[root@ns ~]# tail -f /var/log//videocache/videocache.log
2009-08-20 02:35:16,262 9749 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,264 9747 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,265 9750 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,266 9751 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,268 9752 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,269 9748 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:16,271 9753 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:35:20,540 9837 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:35:20,542 9837 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:35:22,307 9846 - - UPDATE_SIZE - Size of all caching directories updated successfully.
2009-08-20 02:37:54,775 9832 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,782 9833 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,783 9835 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,785 9836 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,786 9837 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,792 9838 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:37:54,796 9834 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:38:51,996 9948 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:38:51,997 9948 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:38:53,975 9958 - - UPDATE_SIZE - Size of all caching directories updated successfully.
2009-08-20 02:49:42,759 9945 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,761 9947 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,762 9946 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,763 9948 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,764 9949 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,766 9950 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:42,767 9951 - - RELOAD - videocache plugin was reloaded.
2009-08-20 02:49:46,433 10241 - - XMLRPCSERVER - Starting XMLRPCServer on port 9100.
2009-08-20 02:49:46,433 10241 - - SCHEDULEDER - Download Scheduler starting.
2009-08-20 02:49:47,896 10253 - - UPDATE_SIZE - Size of all caching directories updated successfully.

Squid normally listens to port 3128
http_port 10.0.0.6:8080 transparent
http_port 172.0.0.1:8080 transparent

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl my_machine src 10.0.0.6/255.255.255.255
http_access allow my_machine
acl my_machines src 172.0.0.1/255.255.255.255
http_access allow my_machines
acl my_machin src 192.168.1.253/255.255.255.255
http_access allow my_machin

# The hostname or IP address of the system on which caching is being done. This is
# used for serving the videos from the cache. Please don't use http:// or slashes (/).
# Just specify the domain name or IP address.
# Example : localhost.localdomain
# or proxy.example.com
# or 192.168.36.204
# or
cache_host = 10.0.0.6
cache_host = 172.0.0.1

# Proxy for http content.
# Example : http_proxy = http://:/
# or http://proxy.example.com:3128/
proxy = http://10.0.0.6:8080/
proxy = http://172.0.0.1:8080/

tnks :D

head (not verified)

2009-08-20 06:57:52,464 9219 10.0.0.128 - REQUEST - http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:57:52,467 9219 10.0.0.128 13141318.on2 URL_HIT DAILYMOTION http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:57:52,467 9219 10.0.0.128 13141318.on2 CACHE_MISS DAILYMOTION Requested video was not found in cache.
2009-08-20 06:57:52,470 9219 10.0.0.128 13141318.on2 NEW_URL DAILYMOTION http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:57:53,279 9219 10.0.0.128 13141318.on2 SCHEDULED DAILYMOTION Video scheduled for download.
2009-08-20 06:57:53,320 9219 192.168.1.254 - REQUEST - http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:57:53,320 9219 192.168.1.254 13141318.on2 URL_HIT DAILYMOTION http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:57:53,321 9219 192.168.1.254 13141318.on2 CACHE_MISS DAILYMOTION Requested video was not found in cache.
2009-08-20 06:57:53,328 9219 192.168.1.254 13141318.on2 NEW_URL DAILYMOTION http://proxy-39.dailymotion.com/14/848x480/on2/13141318.on2?7e359dd9be51...
2009-08-20 06:59:07,126 5467 10.0.0.128 13141318.on2 DOWNLOAD DAILYMOTION 9323368 Video was downloaded and cached.
2009-08-20 07:01:09,048 9219 10.0.0.128 - REQUEST - http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:01:09,048 9219 10.0.0.128 13021805.flv URL_HIT DAILYMOTION http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:01:09,049 9219 10.0.0.128 13021805.flv CACHE_MISS DAILYMOTION Requested video was not found in cache.
2009-08-20 07:01:09,056 9219 10.0.0.128 13021805.flv NEW_URL DAILYMOTION http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:01:13,578 9219 10.0.0.128 13021805.flv SCHEDULED DAILYMOTION Video scheduled for download.
2009-08-20 07:01:13,607 9219 192.168.1.254 - REQUEST - http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:01:13,608 9219 192.168.1.254 13021805.flv URL_HIT DAILYMOTION http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:01:13,608 9219 192.168.1.254 13021805.flv CACHE_MISS DAILYMOTION Requested video was not found in cache.
2009-08-20 07:01:13,616 9219 192.168.1.254 13021805.flv NEW_URL DAILYMOTION http://proxy-46.dailymotion.com/18/320x240/flv/13021805.flv?a4fed6e1a754...
2009-08-20 07:02:01,874 5488 10.0.0.128 13021805.flv DOWNLOAD DAILYMOTION 4515872 Video was downloaded and cached.
2009-08-20 09:06:41,679 9219 172.0.0.85 - REQUEST - http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:06:41,679 9219 172.0.0.85 odXqBrb6ctI URL_HIT YOUTUBE http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:06:41,680 9219 172.0.0.85 odXqBrb6ctI CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:06:41,688 9219 172.0.0.85 odXqBrb6ctI NEW_URL YOUTUBE http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:06:42,154 9219 172.0.0.85 odXqBrb6ctI SCHEDULED YOUTUBE Video scheduled for download.
2009-08-20 09:06:42,172 9219 192.168.1.254 - REQUEST - http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:06:42,172 9219 192.168.1.254 odXqBrb6ctI URL_HIT YOUTUBE http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:06:42,173 9219 192.168.1.254 odXqBrb6ctI CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:06:42,180 9219 192.168.1.254 odXqBrb6ctI NEW_URL YOUTUBE http://v1.lscache4.c.youtube.com/get_video?origin=sjl-v138.sjl.youtube.c...
2009-08-20 09:09:09,965 5721 172.0.0.85 odXqBrb6ctI DOWNLOAD YOUTUBE 11465148 Video was downloaded and cached.
2009-08-20 09:14:56,173 9219 172.0.0.85 - REQUEST - http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:14:56,174 9219 172.0.0.85 fed5fb15f83602cb URL_HIT YOUTUBE http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:14:56,174 9219 172.0.0.85 fed5fb15f83602cb CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:14:56,179 9219 172.0.0.85 fed5fb15f83602cb NEW_URL YOUTUBE http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:14:57,594 9219 172.0.0.85 fed5fb15f83602cb SCHEDULED YOUTUBE Video scheduled for download.
2009-08-20 09:14:57,617 9219 192.168.1.254 - REQUEST - http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:14:57,617 9219 192.168.1.254 fed5fb15f83602cb URL_HIT YOUTUBE http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:14:57,618 9219 192.168.1.254 fed5fb15f83602cb CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:14:57,621 9219 192.168.1.254 fed5fb15f83602cb NEW_URL YOUTUBE http://74.125.110.217/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:16:53,005 9219 172.0.0.98 - REQUEST - http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:16:53,005 9219 172.0.0.98 _zLpacr1DlU URL_HIT YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:16:53,006 9219 172.0.0.98 _zLpacr1DlU CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:16:53,014 9219 172.0.0.98 _zLpacr1DlU NEW_URL YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:16:57,871 9219 172.0.0.98 _zLpacr1DlU SCHEDULED YOUTUBE Video scheduled for download.
2009-08-20 09:16:57,882 9219 192.168.1.254 - REQUEST - http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:16:57,882 9219 192.168.1.254 _zLpacr1DlU URL_HIT YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:16:57,883 9219 192.168.1.254 _zLpacr1DlU CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:16:57,888 9219 192.168.1.254 _zLpacr1DlU NEW_URL YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:17:08,288 9219 172.0.0.98 - REQUEST - http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:17:08,289 9219 172.0.0.98 _zLpacr1DlU URL_HIT YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:17:08,289 9219 172.0.0.98 _zLpacr1DlU CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:17:08,295 9219 172.0.0.98 _zLpacr1DlU NEW_URL YOUTUBE http://v10.lscache4.c.youtube.com/get_video?origin=sjl-v107.sjl.youtube....
2009-08-20 09:20:12,748 5743 172.0.0.85 fed5fb15f83602cb DOWNLOAD YOUTUBE 14610854 Video was downloaded and cached.
2009-08-20 09:20:49,246 5752 172.0.0.98 _zLpacr1DlU DOWNLOAD YOUTUBE 10497574 Video was downloaded and cached.
2009-08-20 09:34:52,409 9219 172.0.0.91 - REQUEST - http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:52,410 9219 172.0.0.91 7846dc166e04b325 URL_HIT YOUTUBE http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:52,410 9219 172.0.0.91 7846dc166e04b325 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:34:52,415 9219 172.0.0.91 7846dc166e04b325 NEW_URL YOUTUBE http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:53,563 9219 172.0.0.91 7846dc166e04b325 SCHEDULED YOUTUBE Video scheduled for download.
2009-08-20 09:34:53,587 9219 192.168.1.254 - REQUEST - http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:53,587 9219 192.168.1.254 7846dc166e04b325 URL_HIT YOUTUBE http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:53,588 9219 192.168.1.254 7846dc166e04b325 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:34:53,592 9219 192.168.1.254 7846dc166e04b325 NEW_URL YOUTUBE http://74.125.110.227/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%...
2009-08-20 09:34:53,664 9219 172.0.0.91 - REQUEST - http://v1.cache7.googlevideo.com/videoplayback?ip=0.0.0.0&sparams=id%2Ce...
2009-08-20 09:34:53,664 9219 172.0.0.91 7846dc166e04b325 URL_HIT YOUTUBE http://v1.cache7.googlevideo.com/videoplayback?ip=0.0.0.0&sparams=id%2Ce...
2009-08-20 09:34:53,665 9219 172.0.0.91 7846dc166e04b325 CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 09:34:53,669 9219 172.0.0.91 7846dc166e04b325 NEW_URL YOUTUBE http://v1.cache7.googlevideo.com/videoplayback?ip=0.0.0.0&sparams=id%2Ce...
2009-08-20 09:39:34,100 5789 172.0.0.91 7846dc166e04b325 DOWNLOAD YOUTUBE 10657064 Video was downloaded and cached.
2009-08-20 11:07:12,419 9219 10.0.0.19 - REQUEST - http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:12,420 9219 10.0.0.19 sF84pIhP5UM URL_HIT YOUTUBE http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:12,420 9219 10.0.0.19 sF84pIhP5UM CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 11:07:12,423 9219 10.0.0.19 sF84pIhP5UM NEW_URL YOUTUBE http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:16,254 9219 10.0.0.19 sF84pIhP5UM SCHEDULED YOUTUBE Video scheduled for download.
2009-08-20 11:07:16,281 9219 192.168.1.254 - REQUEST - http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:16,281 9219 192.168.1.254 sF84pIhP5UM URL_HIT YOUTUBE http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:16,282 9219 192.168.1.254 sF84pIhP5UM CACHE_MISS YOUTUBE Requested video was not found in cache.
2009-08-20 11:07:16,287 9219 192.168.1.254 sF84pIhP5UM NEW_URL YOUTUBE http://cache.googlevideo.com/get_video?video_id=sF84pIhP5UM&origin=chi-v...
2009-08-20 11:07:16,552 5968 10.0.0.19 sF84pIhP5UM DOWNLOAD_ERR YOUTUBE An error occured while retrieving the video.

head (not verified)

http://pastebin.com/m60018316

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 0 users and 110 guests online.