![]() |
|
Simtel.net problem yet again! - Printable Version +- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums) +-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38) +--- Forum: Filter Help/Request (/forumdisplay.php?fid=31) +--- Thread: Simtel.net problem yet again! (/showthread.php?tid=465) |
- Sam the Cat - May. 02, 2005 03:02 AM Last July the code I was using to get me around the redirects in Simtel.net downloads had stopped working. So I started a thread here (http://prxbx.com/forums/index.php?showtopic=156&hl=simtel\.net#) seeking help on how to remedy this. Sidki graciously posted a reply with a code fix that worked beautifully until recently. Here is Sidki's code which I have been using: [Patterns] Name = "Bypass redirects in links (COMPLEX)" Active = TRUE Bounds = "<a(rea|)\s*[^\-]>" Limit = 256 Match = "(*(href|onclick))\1="(?[^ ]++)\2(http|https|ftp)\3( %3a)(/|%2f)+{2}([^&'"\[]+)\4\5"Replace = "<a href="\3://$UESC(\4)" class=proxlink>[Direct][/url]\1="\2\3://\4\5" Unfortunately, it looks as though Simtel.net has changed so that this code now gets stymied. When the page with a list of servers to choose from comes up, the "[Direct]" link no longer appears. When I click on a link to a server, it tells me that the server is being contacted and the download will start shortly, but it doesn't. It just stops there. To prevent this I must desable "Filter Web Pages" in Proxo. Once again I am asking for help here so that "[Direct]" will be back and I will not have to disable Proxo in any way in order to d/l files in Simtel.net. Again, many thanks and much gratitude to anyone who can help me with this problem. Sam the Cat - Kye-U - May. 02, 2005 03:56 AM Here you go ![]() Code: [Patterns]This should work. Import it so that it's at the top of the list of web filters, so it filters the links before other filters do. Enjoy! ![]() Note: It's a bit rougher than Sidki's, but it gets the job done =) Perhaps Sidki could post an update to his, which I think is better written. - sidki3003 - May. 02, 2005 09:27 AM Wasn't my code, i just fixed it. ![]() Sam the Cat, the changes at Simtelnet are too much for your general filter. So you can either use Kye-U's site-specific filter, or add a "JS Links to normal Links" filter to your config: Code: [Patterns]Notes: Naoko 4.5 only. Some precautions removed to get it stand-alone, may need to be bypassed at times. Please do not merge this version with my set. sidki - Sam the Cat - May. 04, 2005 08:53 AM Hello, Kye-U and sidki3003 -- Thank you both so much for such quick replies. I tried your fixes and they both work beautifully. Let's hope simtel.net doesn't go changing things again, at least for a while. Again, my thanks to both of you. This is an excellent forum which is of great help to ordinary Proxo users like me. I appreciate it very much. Take care. |