OSDN Git Service

画像プレビューをTwitVideoに対応
authorsyo68k <syo68k@users.sourceforge.jp>
Sat, 1 May 2010 14:43:55 +0000 (14:43 +0000)
committerKimura Youichi <kim.upsilon@bucyou.net>
Sat, 18 Feb 2012 14:11:52 +0000 (23:11 +0900)
git-svn-id: http://svn.sourceforge.jp/svnroot/tween/trunk@228 e39ad16e-3079-482e-bb30-4b4d378143b6

Tween/Resources/ChangeLog.txt
Tween/Tween.vb

index 8dee829..96049ec 100644 (file)
@@ -2,6 +2,7 @@
 
 ==== Ver 0.8.8.7(2010/05/**)
  * 画像プレビューでのサムネイル生成完了報告タイミング見直し
+ * 画像プレビューをTwitVideoに対応
 ==== Ver 0.8.8.6(2010/04/30)
  * Flickr/Pixivの画像ページ読み込み、解析処理を非同期に
  * 操作メニュー表示の際の判定漏れを修正
index f7f4771..8837914 100644 (file)
@@ -8097,6 +8097,12 @@ RETRY:
                 imglist.Add(New KeyValuePair(Of String, String)(url, mc.Value))
                 Continue For
             End If
+            'TwitVideo
+            mc = Regex.Match(url, "^http://twitvideo\.jp/(\w+)$", RegexOptions.IgnoreCase)
+            If mc.Success Then
+                imglist.Add(New KeyValuePair(Of String, String)(url, mc.Result("http://twitvideo.jp/img/thumb/${1}")))
+                Continue For
+            End If
         Next
 
         If imglist.Count = 0 Then