alexkirsz / alexkirsz/catalyst-proxy
Make Catalyst-Proxy work on Youtube and report bugs
- Langage dominant
- CoffeeScript
- Étoiles
- 7
- Forks
- 2
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hi Morhaus, I found a way to make catalyst work with Youtube, I force my browser uses Googlebot as User-Agent on Youtube using Privoxy or extension like ModifyHeader, I create this thread to let you know we can accelerate Youtube video now and report a few bugs:
If you use Firefox you can install this addon: https://addons.mozilla.org/en-US/firefox/addon/modify-headers/
Click ModifyHeader icon, select ModifyHeader Options.
Select action choose "Modify", Header name put "User-Agent", Value put "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" and then Start ModifyHeader.
Now you can go to http://www.youtube.com and Youtube and even GoogleVideo will use HTTP instead HTTPS.
Hope you can test Youtube and fix bug, I still get some bug make Catalyst-Proxy stop working in my using progress. Here is a few and a information that I think will be related:
When I was watching Youtube with FLASH PLAYER, sometimes I got this problem:
http.js:1844
throw new Error('Protocol:' + options.protocol + ' not supported.');
^
Error: Protocol:https: not supported.
at Object.exports.request (http.js:1844:11)
and
http.js:1844
throw new Error('Protocol:' + options.protocol + ' not supported.');
^
Error: Protocol:https: not supported.
at Object.exports.request (http.js:1844:11)
at Thread.module.exports.Thread._connect (\thread.js:64:22)
And this problem I don't know why it happens ?
received invalid range: null, expected 128000,71214970
received invalid range: null, expected 256000,71342970
received invalid range: null, expected 256000,71342970
received invalid range: null, expected 384000,71470970
received invalid range: null, expected 512000,71598970
received invalid range: null, expected 640000,71726970
received invalid range: null, expected 128000,71214970
received invalid range: null, expected 256000,71342970
received invalid range: null, expected 1152000,72238970
received invalid range: null, expected 1280000,72366970
received invalid range: null, expected 128000,71214970
received invalid range: null, expected 256000,71342970
received invalid range: null, expected 128000,71214970
received invalid range: null, expected 256000,71342970
received invalid range: null, expected 1152000,72238970
received invalid range: null, expected 1280000,72366970
received invalid range: null, expected 384000,71470970
received invalid range: null, expected 512000,71598970
And I can only watch Youtube video from Youtube.com if I use this config:
catalyst start -H 127.0.0.1 -p 1234 -s 1048625 -l 2048625 -t 3
If I use this config, video will never get downloaded:
catalyst start -H 127.0.0.1 -p 1234 -s 524288 -l 2048625 -t 3
That mean I have to increase section size to 1MB instead 512KB, and 1MB sometimes make connection disconnect for my network, but 512KB is more stable than 1MB but cannot watch Youtube..
And also There is a way to make Catalyst-Proxy works on HTTPS content with ProxHTTPSProxy, here is tip: http://translate.google.com/translate?sl=auto&tl=en&u=http%3A%2F%2Fvn-sharing.net%2Fforum%2Fshowthread.php%3Ft%3D2045%26page%3D47
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.