VideoCache
Videocache is no longer in development.

squid working but videocache not saving videos

by Anonymous on 26 Dec 2008

ok squid is working great, videocache on the other hand is not working. it starts and says it is going to save videos but when i try to watch the same video it dose not find any precached.

here is my youtbe_cache file

http://pastebin.com/m11c5bf5

this is my squid file

http://pastebin.com/m7c67c20b

and this is what video cache log file says

2008-12-25 19:38:02,422 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 19:38:02,425 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 19:38:02,426 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 19:38:02,427 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 19:44:42,760 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:42,628 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:43,370 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:48,072 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:48,207 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:49,394 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:49,660 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:48,896 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:50,834 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:48,770 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:44:58,985 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 19:44:59,004 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 19:47:14,740 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,822 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,783 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,781 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:15,078 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,991 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,781 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:15,002 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,853 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:47:14,851 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 19:48:17,230 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 19:48:17,233 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 19:51:52,404 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskItOfHqVw2FwBANOtHoxej5&el=detailpage&ps=
2008-12-25 19:51:53,034 INFO 192.168.0.3 bhgfcb17eoM URL_HIT YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskItOfHqVw2FwBANOtHoxej5&el=detailpage&ps=
2008-12-25 19:51:53,105 INFO 192.168.0.3 bhgfcb17eoM CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-12-25 19:51:53,110 INFO 192.168.0.3 bhgfcb17eoM NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskItOfHqVw2FwBANOtHoxej5&el=detailpage&ps=
2008-12-25 19:51:53,560 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=DA611F09A8C7D2C2AEAE4100AB3D35F84D5EE33D.719ADE972340ED369FBA4906A6615093313AF3E9&sver=2&expire=1230277913&key=yt4&ipbits=0
2008-12-25 19:51:53,969 INFO 192.168.0.3 - REQUEST - http://tc.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=DA611F09A8C7D2C2AEAE4100AB3D35F84D5EE33D.719ADE972340ED369FBA4906A6615093313AF3E9&sver=2&expire=1230277913&key=yt4&ipbits=0&redirect_counter=1
2008-12-25 19:51:53,870 INFO 192.168.0.3 bhgfcb17eoM SCHEDULED YOUTUBE Video scheduled for download.
2008-12-25 19:55:19,365 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJOK24mZ4CJO_hQS_Y2peFm&el=detailpage&ps=
2008-12-25 19:55:23,213 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=4B8305A8086F86B9A3ECE0FF06E08578766D3F67.8631E609E5D19E80765FBD88EE29CC0F30168902&sver=2&expire=1230278122&key=yt4&ipbits=0
2008-12-25 20:02:54,861 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 20:02:54,864 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:02:54,864 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:07:03,945 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:06,789 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:12,377 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:10,846 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:11,814 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:11,569 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:10,119 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:12,565 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:14,912 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:15,133 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:07:24,675 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 20:07:24,694 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:07:24,697 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:08:27,117 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIKDRRI9oH4J69OMgF9D5UN&el=detailpage&ps=
2008-12-25 20:08:27,126 INFO 192.168.0.3 bhgfcb17eoM URL_HIT YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIKDRRI9oH4J69OMgF9D5UN&el=detailpage&ps=
2008-12-25 20:08:27,144 INFO 192.168.0.3 bhgfcb17eoM CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-12-25 20:08:27,149 INFO 192.168.0.3 bhgfcb17eoM NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIKDRRI9oH4J69OMgF9D5UN&el=detailpage&ps=
2008-12-25 20:08:27,868 INFO 192.168.0.3 bhgfcb17eoM SCHEDULED YOUTUBE Video scheduled for download.
2008-12-25 20:08:27,906 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=E3F151E8A203A22F71D3368A6013A91D69499FC7.7351C19072C9965F91C570731FF6C0C1366537AF&sver=2&expire=1230278907&key=yt4&ipbits=0
2008-12-25 20:10:23,364 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskL69JtXv1WtVTs2Lz_77pzm&el=detailpage&ps=
2008-12-25 20:10:23,696 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=0B934D07FDEF1BA64D0487F526C84F5DB523A132.774C05C506CC4D33904C4361335EA9A681E43597&sver=2&expire=1230279023&key=yt4&ipbits=0
2008-12-25 20:13:35,992 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJclSIKulyoJ0CWMd5gOtug&el=detailpage&ps=
2008-12-25 20:13:36,598 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=494626C0634A9E998D1A821FD1F262F05FB52D52.72CB51672F3725F0F08AD53B63B42BDECE239E10&sver=2&expire=1230279216&key=yt4&ipbits=0
2008-12-25 20:15:48,235 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJ4qXAe8dcaDOK8xzuPJsGI&el=detailpage&ps=
2008-12-25 20:15:48,605 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=AFAEFDB061D4C9F119FD328EE38814BD2E29F31E.8647029AA24FA47C4FD1FE4EE32389E05C5F59B8&sver=2&expire=1230279348&key=yt4&ipbits=0
2008-12-25 20:18:03,599 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskI1gdxBm25wBEQ99ASU8jaA&el=detailpage&ps=
2008-12-25 20:18:03,953 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=62CBE4D8995598F684225B7821D0A21442882EAC.71DA96EB65F761EFF28922420C24BA8726DD3513&sver=2&expire=1230279483&key=yt4&ipbits=0
2008-12-25 20:19:29,118 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:29,464 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:32,169 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:32,359 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:32,497 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:33,459 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:33,115 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:33,856 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:33,220 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:33,998 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:19:39,182 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 20:19:39,184 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:20:01,578 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJ6fb9RmEdW0uQh0f_aTuju&el=detailpage&ps=
2008-12-25 20:20:01,586 INFO 192.168.0.3 bhgfcb17eoM URL_HIT YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJ6fb9RmEdW0uQh0f_aTuju&el=detailpage&ps=
2008-12-25 20:20:01,644 INFO 192.168.0.3 bhgfcb17eoM CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-12-25 20:20:01,649 INFO 192.168.0.3 bhgfcb17eoM NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJ6fb9RmEdW0uQh0f_aTuju&el=detailpage&ps=
2008-12-25 20:20:01,892 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=D7340C397E8B92BE06C58526E39E10FAED00AF7A.471B4BB63158881DE92899DFB5ACD9418636BA66&sver=2&expire=1230279601&key=yt4&ipbits=0
2008-12-25 20:20:03,286 INFO 192.168.0.3 bhgfcb17eoM SCHEDULED YOUTUBE Video scheduled for download.
2008-12-25 20:22:38,035 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJUJefKnneezl_FF4eMS0jv&el=detailpage&ps=
2008-12-25 20:22:38,254 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=6DF6245236B1419C4362BAE3290D98250621E441.454290152B034451E2739A1395A3A10538974598&sver=2&expire=1230279758&key=yt4&ipbits=0
2008-12-25 20:28:44,328 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:44,543 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,019 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,212 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,285 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,126 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:44,746 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,482 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,505 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:45,183 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:28:49,998 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 20:28:50,000 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:28:50,001 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:28:50,005 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:32:07,720 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,722 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,723 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,724 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,779 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,768 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,860 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,860 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,899 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:07,904 INFO - - REQUEST_ERR - Error in the requested url 
2008-12-25 20:32:13,014 INFO - - XMLRPCServer - Starting XMLRPCServer on port 9100.
2008-12-25 20:32:13,016 INFO - - SCHEDULEDER - Download Scheduler starting.
2008-12-25 20:32:51,469 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIaBneIa84W0x1XcLbZfHea&el=detailpage&ps=
2008-12-25 20:32:51,477 INFO 192.168.0.3 bhgfcb17eoM URL_HIT YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIaBneIa84W0x1XcLbZfHea&el=detailpage&ps=
2008-12-25 20:32:51,536 INFO 192.168.0.3 bhgfcb17eoM CACHE_MISS YOUTUBE Requested video was not found in cache.
2008-12-25 20:32:51,540 INFO 192.168.0.3 bhgfcb17eoM NEW_URL YOUTUBE http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskIaBneIa84W0x1XcLbZfHea&el=detailpage&ps=
2008-12-25 20:32:51,888 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=91581A231E9BE4BCEE7D3532456A985423D8CE17.1194B2E5B2B19E4DC26D29860E3F79EE911914BF&sver=2&expire=1230280371&key=yt4&ipbits=0
2008-12-25 20:32:52,100 INFO 192.168.0.3 bhgfcb17eoM SCHEDULED YOUTUBE Video scheduled for download.
2008-12-25 20:39:34,387 INFO 192.168.0.3 - REQUEST - http://www.youtube.com/get_video?video_id=bhgfcb17eoM&t=OEgsToPDskJ3C15pTrUUgPG7v9IEf2K6&el=detailpage&ps=
2008-12-25 20:39:34,733 INFO 192.168.0.3 - REQUEST - http://v6.cache.googlevideo.com/get_video?origin=chi-v189.chi.youtube.com&video_id=bhgfcb17eoM&ip=216.230.150.59&region=0&signature=43210580C94AB2157F6C19AF7B683565B6DD2334.B2B355F8DB1C2280275330528339CC6F044F1591&sver=2&expire=1230280774&key=yt4&ipbits=0

3 Answers

by Kulbir Saini on 26 Dec 2008

Hello,

You are using a very old version of videocache. Back then, it was known as youtube_cache. Please download and install the latest version of videocache from download section and follow the instruction in configure section to configure videocache properly.

Thank you for using videocache :)

by Anonymous on 1 Jan 2009

well im trying to install it on ubuntu so I used this tutorial.

http://sitegeisha.blogspot.com/2008/11/youtube-cache-with-squid.html

I did not noticed it was version 1.2 .

so I should follow the same steps but using version 1.6 ?

by Kulbir Saini on 1 Jan 2009

Hello,

The videocache has been updated to version 1.6. You can download the latest version from download section. You can install videocache from source (.tar.gz) file using the setup.py file inside the tar ball. Follow the instructions in install section.

Thank you for considering videocache :)