Post Reply 
Imageshack.us: Direct Image
Jun. 15, 2009, 08:46 PM
Post: #6
RE: Imageshack.us: Direct Image
Don't know if this is a fault in my config, but right now this filter seems to have stopped working.

Please forgive my persisting newbiness regarding everything web- and proxo filter related things.Sad

I suspect the reason for it stopped working is the following :

Code:
+++GET 2423+++
GET /my.php?image=beforeapplytheme.png HTTP/1.1
Host: img81.imageshack.us
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.9.9
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

+++RESP 2423+++
HTTP/1.1 301 Moved Permanently
X-Powered-By: PHP/5.2.9
Set-Cookie: nopopunder=1; expires=Tue, 16-Jun-2009 02:36:50 GMT; path=/; domain=.imageshack.us
X-UA-Compatible: IE=EmulateIE7
Location: /i/beforeapplytheme.png/
Content-type: text/html
Content-Length: 0
Connection: close

The actual code page is now being re-directed to a different location.
You could probably do much better than I do, but I changed the filter, and now it works well, but again, my code is probably FAR from perfect.
Anyway, here is the one I use now :

Code:
[Patterns]
Name = "Imageshack.us: Direct Image - Toppy TEST"
Active = TRUE
URL = "$TYPE(htm)img[0-9]+.imageshack.us/i/"
Limit = 128
Match = "<link rel="image_src" href="http://img([0-9]+)\0.imageshack.us/img([0-9]+)/([0-9]+)\1/\2" />"
        ""
Replace = "\k$STOP()"
          "<img src="http://img\0.imageshack.us/img\0/\1/\2">"

Regarding this topic, wouldn't it be a good idea, If we could open a topic specifically to handle this kind of code filters for more screenshot storing sites ? Thinking about http://www.tinypic.com or http://www.imagevenue.com (The ones I mainly use, and which are quite commonly used), but as you know, there are tons of others.

It would be great if we could have a specific topic for these kinds of filters ?Smile!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Imageshack.us: Direct Image - Kye-U - Jan. 05, 2009, 09:08 PM
RE: Imageshack.us: Direct Image - lnminente - Jan. 06, 2009, 01:34 PM
RE: Imageshack.us: Direct Image - Toppy - Jan. 06, 2009, 05:45 PM
RE: Imageshack.us: Direct Image - Kye-U - Jan. 11, 2009, 03:57 AM
RE: Imageshack.us: Direct Image - usr - Feb. 05, 2009, 02:36 PM
RE: Imageshack.us: Direct Image - Toppy - Jun. 15, 2009 08:46 PM
RE: Imageshack.us: Direct Image - Toppy - Jul. 10, 2009, 06:08 PM
RE: Imageshack.us: Direct Image - lnminente - Jul. 11, 2009, 04:04 PM
RE: Imageshack.us: Direct Image - Graycode - Jul. 11, 2009, 06:18 PM
RE: Imageshack.us: Direct Image - Toppy - Jun. 28, 2010, 04:41 PM
RE: Imageshack.us: Direct Image - Toppy - Feb. 04, 2012, 04:55 PM

Forum Jump: