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

新手入门、经验交流

Moderator: cre

Forum rules
  • 软件自带帮助是最好的入门教程,请仔细阅读;在您掌握最基本知识前,我们没法帮助您
  • 提问前请先查阅软件帮助文件和论坛相关讨论
  • 查阅软件帮助和论坛相关讨论即可解决的问题帖将直接删除,以免浪费他人时间
  • 请学会如何提问,尽量将问题描述清楚,不明确的提问将被直接删除
Bonnie
Moderator
Posts: 165
Joined: Oct 05 2008, 01:27

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

Post by Bonnie »

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

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

Post 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)"

User avatar
phoenix
Site Admin
Posts: 526
Joined: Dec 29 2007, 16:27

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

Post 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).
red
Posts: 99
Joined: Mar 09 2010, 16:25

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

Post by red »

再次感谢ph,Bonnie :lol:
现在计划把代理的地址单独做个list。原先提到的pac如果有人感兴趣,我可以提供
AlanLive
Posts: 22
Joined: Oct 16 2010, 14:32

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

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

請問語法該如何寫呢?
ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

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

Post by ddbb »

用RDIR

Code: Select all

http://www.YouTube.com/\1    $RDIR(http://coblitz.codeen.org/http://www.YouTube.com/\1)
AlanLive
Posts: 22
Joined: Oct 16 2010, 14:32

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

Post 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* 的型式發出

請問該怎麼設置才正確呢?
ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

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

Post by ddbb »

不是Exceptions.ptxt

是 Exceptions-U.ptxt

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

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

你要的不就是这样么........这个不用考虑到代理不代理的.......
AlanLive
Posts: 22
Joined: Oct 16 2010, 14:32

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

Post by AlanLive »

是轉向沒錯,但要轉的是影片的「真實地址」
直接貼上你給的語法會把 http://www.youtube.com 轉過去,但最重要的影片地址沒轉....
ddbb
Moderator
Posts: 425
Joined: Jan 07 2008, 13:30

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

Post by ddbb »

我是不看youtube的.......所以我不知道你说的"影片的真实地址"是什么......

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

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