Closed GoogleCodeExporter closed 9 years ago
this regex seems to work
'#(i\d\d.tinypic.com/[\w]+)#i' => 'http://%s_th',
but not sure what it does to download times as tinypic doesn't seem to thumbnail
animated images, only reduce them in size.
Original comment by ldoug...@gmail.com
on 23 Dec 2009 at 1:08
here are some more:
'#youtu.be\/([_-\d\w]+)#i' => 'http://i.ytimg.com/vi/%s/1.jpg',
'#twitvid.com/([\w]+)#i' => 'http://images.twitvid.com/%s.jpg',
'#pic.gd/([\w]+)#i' =>
'http://TweetPhotoAPI.com/api/TPAPI.svc/imagefromurl?size=thumbnail&url=http://w
ww.pic.gd/%s',
'#imgur.com/([\w]{5})[\s\.ls][\.\w]*#i' => 'http://imgur.com/%ss.png',
'#imgur.com/gallery/([\w]+)#i' => 'http://imgur.com/%ss.png',
'#imgur.com/delete/([\w]+)#i' => 'images/trash.gif',
'#brizzly.com/pic/([\w]+)#i' => 'http://pics.brizzly.com/thumb_sm_%s.jpg',
Original comment by ldoug...@gmail.com
on 25 Dec 2009 at 11:48
And img.ly:
'#img\.ly\/([\w\d]+)#i' => 'http://img.ly/show/thumb/%s',
Original comment by cnye...@gmail.com
on 25 Dec 2009 at 4:19
Added these to http://code.google.com/p/dabr/source/detail?r=269
Original comment by terence.eden
on 9 Feb 2010 at 3:29
Here is the instagram:
'#instagr.am/p/([\d\w]+)#i' => 'http://instagr.am/p/%s/media/?size=t',
Original comment by Julien.G...@gmail.com
on 11 Apr 2011 at 4:44
Embedly covers all of these image services.
Original comment by terence.eden
on 13 Jun 2011 at 12:28
Original issue reported on code.google.com by
pigsotwing
on 22 Dec 2009 at 7:54