Class: Bilibili::Manga

Inherits:
BilibiliBase show all
Defined in:
lib/bilibili_console/manga.rb

Overview

bilibili video interfaces

Instance Attribute Summary

Attributes inherited from BilibiliBase

#http_client, #options

Instance Method Summary collapse

Methods inherited from BilibiliBase

#clean_cookie, #initialize, #load_cookie, #save_cookie

Constructor Details

This class inherits a constructor from Bilibili::BilibiliBase

Instance Method Details

#check_inObject



17
18
19
20
21
22
# File 'lib/bilibili_console/manga.rb', line 17

def check_in
  cur_header = {
    'User-Agent': 'Mozilla/5.0 BiliDroid/6.4.0 ([email protected]) os/android model/M1903F11I mobi_app/android build/6040500 channel/bili innerVer/6040500 osVer/9.0.0 network/2'
  }
  post_jsonm(Api::Manga::CHECK_IN, cur_header, { 'platform' => 'android' })
end