The Un-Official Proxomitron Forum
The content of the page is not filtered. - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Forum Related (/forumdisplay.php?fid=37)
+--- Forum: Privoxy (/forumdisplay.php?fid=49)
+--- Thread: The content of the page is not filtered. (/showthread.php?tid=2321)



The content of the page is not filtered. - vlad_s - Dec. 26, 2017 05:32 PM

Hi! Regular expression:
Code:
http://link\.2gis\.ru/\d\.\d.*(https?.*")
I apply to the page https://catalog.api.2gis.ru/2.0/catalog/branch/get?id=70000001022405020_zflyh9p8p7023113012GGG269j4x5x26G6G42466G57123H7rgewB419175IG1I0GAG5I4GJcz99uvG45446203472H1H4B2&see_also_size=5&viewpoint1=52.09785461425782%2C55.90573012454021&viewpoint2=52.70553588867188%2C55.55660246986701&locale=ru_RU&fields=items.adm_div%2Citems.region_id%2Citems.reviews%2Citems.point%2Citems.links%2Citems.name_ex%2Citems.org%2Citems.group%2Citems.see_also%2Citems.dates%2Citems.external_content%2Citems.flags%2Citems.ads.options%2Citems.email_for_sending.allowed%2Csearch_attributes&key=ruoedw9225
Privoxy config (filter):
Code:
FILTER: 2gis.ru 2gis.ru
[email protected]://link\.2gis\.ru/\d\.\d.*(https?.*")@$[email protected]

action:
Code:
{+filter{2gis.ru} \
}
.2gis.com/
.2gis.ru/
+prevent-compression does not help. Checking https://regex101.com/r/vnYg4y/1