Giter VIP home page Giter VIP logo

catalyst-proxy's People

Contributors

alexkirsz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

catalyst-proxy's Issues

Cannot fin module on Windows

On start error:

catalyst start -h

module.js:340
   throw err;
          ^
Error: Cannot find module '../../multisource-stream'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> ($npm_folder\node_modules\catalyst-proxy\lib\request.js:13:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Changing "Multisource = require '../../multisource-stream'" to "Multisource = require 'multisource-stream'" in src/request.coffee solve error.

Make Catalyst-Proxy work on Youtube and report bugs

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

SSL/HTTPS support ?

Hi Morhaus, first I want to thanks for creating such a great proxy.

These day every sites become SSL/HTTPS, so without HTTPS support seem Catalyst Proxy a little bit uneffective, example Youtube is now HTTPS, its googlevideo use HTTPS so I cannot accelerate video download speed using Catalyst, I hope you will add HTTPS support using something like Man in the middle method. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.