amate / Proxydomo

ローカルで動作するプロクシフィルタリングソフトです
http://www31.atwiki.jp/lafe/pages/37.html
GNU General Public License v2.0
74 stars 12 forks source link

Skip filtering if no Content-Type in (incoming) header #56

Closed mas91180 closed 6 years ago

mas91180 commented 6 years ago

Example - https://www.cars-data.com/ Adding Content-Type to header via Proxydomo doesn't help. Can you please check into this?

Thanks!

amate commented 6 years ago

Please use $FILTER(true).

[HTTP headers]
Key = "URL: new filter"
In = TRUE
Out = FALSE
Version = ""
Author = ""
Comment = ""
Active = TRUE
Multi = FALSE
URL = "www.cars-data.com/$FILTER(true)"
Bounds = ""
Limit = 256
Match = ""
Replace = ""

[Patterns]
Name = "new filter2"
Version = ""
Author = ""
Comment = ""
Active = TRUE
Multi = FALSE
URL = "www.cars-data.com/"
Bounds = ""
Limit = 256
Match = "<title>Cars technical specifications database - Cars-Data.com</title>"
Replace = "<title>test</title>"
mas91180 commented 6 years ago

got it, thanks!