bakusai

package module
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 2 Imported by: 0

README

bakusai

cli for bakusai

usage

$ bakusai dump thread https://bakusai.com/thr_res/acode=3/ctgid=117/bid=280/tid=9330590/ > log.txt

Documentation

Index

Constants

View Source
const MaxPageRes = 50
View Source
const RootURI = "https://bakusai.com/"
View Source
const Version = "0.1.13"

Variables

This section is empty.

Functions

This section is empty.

Types

type Res

type Res struct {
	URI         string
	ResID       int
	Name        string
	CommentTime time.Time
	CommentText string
}

type Thread

type Thread struct {
	URI           string
	ThreadID      int
	DatePublished time.Time
	Author        string
	Title         string
	ResList       []*Res
	PrevURI       string
	NextURI       string
}

func (*Thread) PageURI

func (t *Thread) PageURI(page int) string

Directories

Path Synopsis
cmd
internal
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL