Rokka System

このエントリーをはてなブックマークに追加
1水玉(Mizutama) ◆qHK1vdR8FRIm (もんじゃ)
Rokka System is the new method to get 2ch/bbspink archived dats.
http://stream.bbspink.com/update.txt

1. get SID from https://2chv.tora3.net/[email protected]&PW=password , not changed
2. request to Rokka with the SID
 URL http://rokka.<DOMAIN>/<SERVER>/<BOARD>/<THREAD>/[<OPTIONS>]?[raw=0.0&]sid=<SID>

 DOMAIN : 2ch.net or bbspink.com
 SERVER : name of the server, pele,kilauea,...(bbspink) anago,awabi,....(2ch)
 BOARD : name of the board, news,entrance,.....
 THREAD : thread key(=thread number)
 OPTIONS : 2ch standard url options, l50 , 25-35 , -45 , 13- , etc...
 [raw=0.0] : option to get dat with GZip compressed (recommended)
 <SID> : authentication SID, UrlEncoding is recommended

 Response : 1st line indicates processed status of the server.
  "Success"  - The process has successfuly done. Following lines are achieved message with dat format(name<>email<>datetime<>body<>[title]).
  "Error XXX" - The process has not succeeded. XXX is error code.
          Error codes:
          inputError = "Error 8008135"      invalid SERVER or BOARD or THREAD
          authenticationError = "Error 69"    invalid SID
          urlError = "Error 666"           invalid OPTIONS
          timeLimitError = "Error 420"       access too fast, interval between requests required


 exsamples
  http://rokka.bbspink.com/pele/erobbs/1285357421/?sid=Monazilla/2.00:4373....         get whole thread as plane text
  http://rokka.bbspink.com/pele/erobbs/1285357421/?raw=0.0&sid=Monazilla/2.00:4373....   get whole thread with gzipped
  http://rokka.bbspink.com/pele/erobbs/1285357421/l50?raw=0.0&sid=Monazilla/2.00:4373...  get 1 and last 50 posts

previous discussion http://qb5.2ch.net/test/read.cgi/operate/1366640919/87-