Documentation
¶
Index ¶
- Constants
- Variables
- func AbsCookiesFilename() string
- func AbsCoverDir() string
- func AbsDownloadPath(id, file string) string
- func AbsDownloadsDir() string
- func AbsMyBooksDetailsDir() string
- func AbsMyBooksFreshDir() string
- func AbsReduxDir() string
- func AnyTextProperties() []string
- func ChRoot(d string)
- func FormatDesc(format string) string
- func LinkFormat(link string) string
- func Pwd() string
- func ReduxProperties() []string
Constants ¶
View Source
const ( // Text books FormatFB2 = "FB2" FormatEPUB = "EPUB" FormatTXTZIP = "TXT ZIP" FormatRTF = "RTF" FormatPDFA4 = "PDF A4" FormatMOBI = "MOBI" FormatAZW3 = "AZW3" FormatIOSEPUB = "iOS.EPUB" FormatPDFA6 = "PDF A6" FormatFB3 = "FB3" FormatTXT = "TXT" // PDF books FormatPDF = "PDF" // Audiobooks FormatMP3 = "MP3" FormatMP4 = "MP4" // Other FormatZIP = "ZIP" FormatUnknown = "UNKNOWN" )
View Source
const ( //reduced from the list MyBooksIdsProperty = "my-books-ids" HrefProperty = "href" // reduced from detail page TitleProperty = "title" AuthorsProperty = "authors" DescriptionProperty = "description" DownloadLinksProperty = "download-links" SequenceNameProperty = "sequence-name" SequenceNumberProperty = "sequence-number" DateReleasedProperty = "date-released" DateTranslatedProperty = "date-translated" DateCreatedProperty = "date-created" AgeRatingProperty = "age-rating" VolumeProperty = "volume" DurationProperty = "duration" ISBNPropertyProperty = "isbn" TranslatorsProperty = "translators" ReadersProperty = "readers" IllustratorsProperty = "illustrators" CopyrightHoldersProperty = "copyright-holders" ComposersProperty = "composers" AdapterProperty = "adapter" PerformersProperty = "performers" DirectorsProperty = "directors" SoundDirectorsProperty = "sound-directors" PublishersProperty = "publishers" TotalSizeProperty = "total-size" TotalPagesProperty = "total-pages" MissingDetailsIdsProperty = "missing-details-ids" BookTypeProperty = "book-type" GenresProperty = "genres" TagsProperty = "tags" // aggregate AnyTextProperty = "any-text" // sorting SortProperty = "sort" DescendingProperty = "desc" )
View Source
const (
CoverExt = ".jpg"
)
Variables ¶
View Source
var FormatDescriptors = map[string]string{ FormatFB2: "Читается всеми российскими электронными книгами и многими программами", FormatEPUB: "Подходит для Apple Books и большинства приложений для чтения", FormatTXTZIP: "Можно открыть на любом компьютере", FormatRTF: "Можно открыть на любом компьютере", FormatPDFA4: "Открывается в программах Adobe Reader, Preview.app", FormatMOBI: "Подходит для электронных книг Amazon Kindle", FormatAZW3: "Подходит для электронных книг Amazon Kindle", FormatIOSEPUB: "EPUB, адаптированный для iPhone и iPad", FormatPDFA6: "Оптимизирован под небольшие экраны", FormatFB3: "Развитие формата FB2", FormatTXT: "Можно открыть почти на любом устройстве", FormatPDF: "Скачать в формате PDF", FormatMP3: "Скачать книгу в стандартном качестве", FormatMP4: "Скачать версию для мобильного телефона", FormatZIP: "Zip архив", FormatUnknown: "Неизвестный формат", }
Functions ¶
func AbsCookiesFilename ¶
func AbsCookiesFilename() string
func AbsCoverDir ¶
func AbsCoverDir() string
func AbsDownloadPath ¶
func AbsDownloadsDir ¶
func AbsDownloadsDir() string
func AbsMyBooksDetailsDir ¶
func AbsMyBooksDetailsDir() string
func AbsMyBooksFreshDir ¶
func AbsMyBooksFreshDir() string
func AbsReduxDir ¶
func AbsReduxDir() string
func AnyTextProperties ¶ added in v0.1.22
func AnyTextProperties() []string
func FormatDesc ¶ added in v0.1.30
func LinkFormat ¶ added in v0.1.30
func ReduxProperties ¶
func ReduxProperties() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.