Documentation ¶
Index ¶
Constants ¶
View Source
const ( FT_HTML = Filetype("html") FT_TXT = Filetype("txt") FT_EPUB = FT_EPUB_IMG FT_EPUB_IMG = Filetype("epub.images") FT_EPUB_NO_IMG = Filetype("epub.noimages") FT_KINDLE = FT_KINDLE_IMG FT_KINDLE_IMG = Filetype("kindle.images") FT_KINDLE_NO_IMG = Filetype("kindle.noimages") FT_MP3 = Filetype("mp3") BASE_URL = "https://www.gutenberg.org" BASE_PATH = BASE_ROBOT + BASE_HARVEST BASE_ROBOT = "/robot" BASE_HARVEST = "/harvest" CATALOG_PATH = "/cache/epub/feeds" CATALOG_FILE = "/pg_catalog.csv.gz" )
Variables ¶
This section is empty.
Functions ¶
func DownloadCatalog ¶
DownloadCatalog will download a url to a local file. It's efficient because it will write as it downloads and not load the whole file into memory.
func DownloadFile ¶
DownloadFile will download a url to a local file. It's efficient because it will write as it downloads and not load the whole file into memory.
Types ¶
Click to show internal directories.
Click to hide internal directories.