Mercurial > pidgin-twitter
changeset 144:bef8f96ce8f2
relaxed the pattern for twitter image.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 23 Jul 2008 17:09:59 +0900 |
parents | 71c027f4f95d |
children | f220da0c089e |
files | pidgin-twitter.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin-twitter.h Wed Jul 23 16:54:02 2008 +0900 +++ b/pidgin-twitter.h Wed Jul 23 17:09:59 2008 +0900 @@ -133,7 +133,7 @@ #define P_USER_FORMATTED "^.*?<a .+?>([A-Za-z0-9_]+)</a>:" #define P_CHANNEL "^(.*?<a .+?>[A-Za-z0-9_]+</a>: \\r?\\n?#)([A-Za-z0-9_]+) " #define P_IMAGE_IDENTICA "<img src=\"(http://avatar.identi.ca/[A-Za-z0-9-.]+)\" class=\"avatar profile\" width=\"96\" height=\"96\" alt=\"[A-Za-z0-0_]+\"/>" -#define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://[A-Za-z0-9_./-]+)\" .+?/>" +#define P_IMAGE_TWITTER "<a href=\"/account/profile_image/.+?\"><img .+? id=\"profile-image\".*src=\"(http://.+)\" .+?/>" /* twitter API specific macros */ #define TWITTER_BASE_URL "http://twitter.com"