jbbs.shitaraba.net対応
@@ -10,7 +10,7 @@ | ||
10 | 10 | [assembly: AssemblyConfiguration("")] |
11 | 11 | [assembly: AssemblyCompany("よっしー")] |
12 | 12 | [assembly: AssemblyProduct("SpeechCast")] |
13 | -[assembly: AssemblyCopyright("Copyright © よっしー 2008,2009")] | |
13 | +[assembly: AssemblyCopyright("Copyright © よっしー 2008,2009,2013")] | |
14 | 14 | [assembly: AssemblyTrademark("")] |
15 | 15 | [assembly: AssemblyCulture("")] |
16 | 16 |
@@ -32,5 +32,5 @@ | ||
32 | 32 | // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を |
33 | 33 | // 既定値にすることができます: |
34 | 34 | // [assembly: AssemblyVersion("1.0.*")] |
35 | -[assembly: AssemblyVersion("1.0.6.0")] | |
36 | -[assembly: AssemblyFileVersion("1.0.6.0")] | |
35 | +[assembly: AssemblyVersion("1.0.7.0")] | |
36 | +[assembly: AssemblyFileVersion("1.0.7.0")] |
@@ -224,7 +224,7 @@ | ||
224 | 224 | } |
225 | 225 | |
226 | 226 | |
227 | - Regex jbbsBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp/\w+/\d+/)"); | |
227 | + Regex jbbsBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://(jbbs.livedoor.jp|jbbs.shitaraba.net)/\w+/\d+/)"); | |
228 | 228 | Regex nichanBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net/\w+/)\s*$"); |
229 | 229 | Regex yyBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+\.(kg|com)/\w+/)\s*$"); |
230 | 230 |
@@ -234,7 +234,7 @@ | ||
234 | 234 | |
235 | 235 | if (m.Success) |
236 | 236 | { |
237 | - baseURL = m.Groups[1].Value; | |
237 | + baseURL = m.Groups[2].Value; | |
238 | 238 | Response.Style = Response.BBSStyle.jbbs; |
239 | 239 | return true; |
240 | 240 | } |
@@ -310,7 +310,7 @@ | ||
310 | 310 | Response.Style = Response.BBSStyle.jbbs; |
311 | 311 | encodingName = "EUC-JP"; |
312 | 312 | |
313 | - baseURL = string.Format("http://jbbs.livedoor.jp/{0}/{1}/", m.Groups[3], m.Groups[4]); | |
313 | + baseURL = string.Format("{0}/{1}/{2}/", m.Groups[1], m.Groups[3], m.Groups[4]); | |
314 | 314 | } |
315 | 315 | else |
316 | 316 | { |
@@ -10,12 +10,12 @@ | ||
10 | 10 | { |
11 | 11 | class Communicator |
12 | 12 | { |
13 | - public static Regex JBBSRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp)/bbs/read.cgi(/(\w+)/(\d+)/(\d+)/)"); | |
13 | + public static Regex JBBSRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp|http://jbbs.shitaraba.net)/bbs/read.cgi(/(\w+)/(\d+)/(\d+)/)"); | |
14 | 14 | public static Regex YYRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+\..+)/.+/read.cgi/(\w+)/(\d+)/"); |
15 | 15 | public static Regex NichanRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net)/.+/read.cgi/(\w+)/(\d+)/"); |
16 | 16 | |
17 | 17 | |
18 | - public static Regex JBBSBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp)/(\w+)/(\d+)/"); | |
18 | + public static Regex JBBSBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://jbbs.livedoor.jp|http://jbbs.shitaraba.net)/(\w+)/(\d+)/"); | |
19 | 19 | public static Regex YYBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://yy.+)/(\w+)/"); |
20 | 20 | public static Regex NichanBaseRegex = new System.Text.RegularExpressions.Regex(@"(http://.+2ch\.net)/(\w+)/"); |
21 | 21 |