Page 3 of 4

Re: Proxomitron入门级应用之:代理调度

Posted: Apr 05 2010, 14:52
by Bonnie
大概是sidki的"Use standard Proxy"规则阻止了proxomitron使用代理,试试关掉。
0-9的位置变量只在当前规则有效,不能跨规则,所以即使写了"0=i_proxy:3."也不会在"Use standard Proxy"规则里生效。
sidki是另外用规则分别将所有变量读取后再赋值给一个全局变量keyword的。

Re: Proxomitron入门级应用之:代理调度

Posted: Apr 05 2010, 21:42
by red
Bonnie wrote:大概是sidki的"Use standard Proxy"规则阻止了proxomitron使用代理,试试关掉。
可以了 :D 竟然是在URL里match而不是header value。也测试了下,规则"Use standard Proxy"不用关,不影响
proxomitron自带帮助external proxy dialog节最下面有个例子是写在header value里,不知是否sidki包的原因

Code: Select all

[HTTP headers]
In = FALSE
Out = TRUE
Key = "! |||||||||||| test: Use Proxy (Out)"
URL = "$LST(test)"
Replace = "$SETPROXY(127.0.0.1:8118)"


Re: Proxomitron入门级应用之:代理调度

Posted: Apr 06 2010, 10:20
by phoenix
red wrote:sidki在use specific proxy的时候http://是否不用写,写成http://www.example.com/ $SET(0=i_proxy:3.) $SETPROXY(Proxy)反而www.example.com不匹配
和 sidki 无关。URL Match 部分都不用写 http://

请参考 http://www.proxomitron.cn/help/Header%2 ... ditor.html ,点击 URL Match 输入框有提示:
Note that 'http://' is first removed from the URL before the match is done.
red wrote:proxomitron自带帮助external proxy dialog节最下面有个例子是写在header value里,不知是否sidki包的原因
请注意那条规则的名字是 URL: Skip the proxy (out)

还是 http://www.proxomitron.cn/help/Header%2 ... ditor.html
The URL: header

Sometimes you may want to change a web page's URL itself. Although not really a header, Proxomitron will treat the name "URL:" as a special URL header filter. In this case the match will be the full URL (including the http:// part that the normal URL match ignores).

Re: Proxomitron入门级应用之:代理调度

Posted: Apr 06 2010, 12:45
by red
再次感谢ph,Bonnie :lol:
现在计划把代理的地址单独做个list。原先提到的pac如果有人感兴趣,我可以提供

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 24 2010, 12:33
by AlanLive
最近發現 http://coblitz.codeen.org/ 這個網頁代理
此網址後面接上 YouTube 的影片下載位置就能高速下載影片檔案 ( 估計是從它們的伺服器上抓快取 )

舉例
http://coblitz.codeen.org/http://203.66 ... 088cb32aa5&

這速度比用我自己的 ISP 直接連線還要快上許多
所以想利用 Proxomitron 這個代理調度 ( http://coblitz.codeen.org/ + YouTube Video Download Link )

請問語法該如何寫呢?

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 24 2010, 12:52
by ddbb
用RDIR

Code: Select all

http://www.YouTube.com/\1    $RDIR(http://coblitz.codeen.org/http://www.YouTube.com/\1)

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 24 2010, 14:52
by AlanLive
在 Exceptions.ptxt 加上

Code: Select all

*videoplayback*\1    $RDIR(http://coblitz.codeen.org/http://*videoplayback*\1)
PS.videoplayback 為 YouTube 視頻地址之關鍵字

從 http://local.ptron/.pinfo/urls/ 觀察發出去的連結
會變成以 http://coblitz.codeen.org/http://*videoplayback* 的型式發出

請問該怎麼設置才正確呢?

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 24 2010, 17:38
by ddbb
不是Exceptions.ptxt

是 Exceptions-U.ptxt

你不需要什么配置........你只要把那句话COPY到文件的最后就完事了

那句话就是个转向功能 表示这个URL的话 就自动跳转到后面的URL....

你要的不就是这样么........这个不用考虑到代理不代理的.......

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 24 2010, 22:04
by AlanLive
是轉向沒錯,但要轉的是影片的「真實地址」
直接貼上你給的語法會把 http://www.youtube.com 轉過去,但最重要的影片地址沒轉....

Re: Proxomitron入门级应用之:代理调度

Posted: Nov 25 2010, 08:38
by ddbb
我是不看youtube的.......所以我不知道你说的"影片的真实地址"是什么......

不过我只是给你一个例子......既然你已经知道了这个东西的用法....

你把那里换上真实地址不就完事了么