Skip to content

KeyError: 'chapter_info' #156

Answered by mkb79
Travillion asked this question in Q&A
Sep 24, 2023 · 9 comments · 24 replies
Discussion options

You must be logged in to vote

If you use v0.3.1 of audible-cli, copy the content below to a file namedcmd_download-chapters-flat.py in your plugin dir. Then run audible download-flat […] --chapters to download chapters in flat. I don’t have tested the output yet.

import asyncio
import asyncio.log
import asyncio.sslproto
import json
import pathlib
import logging
from datetime import datetime

import aiofiles
import click
import httpx
import questionary
from audible.exceptions import NotFoundError
from click import echo

from audible_cli.decorators import (
    bunch_size_option,
    end_date_option,
    start_date_option,
    timeout_option,
    pass_client,
    pass_session
)
from audible_cli.downloader import Downloader

Replies: 9 comments 24 replies

Comment options

You must be logged in to vote
3 replies
@mkb79
Comment options

@mkb79
Comment options

@Travillion
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Travillion
Comment options

@mkb79
Comment options

@Travillion
Comment options

@mkb79
Comment options

@Travillion
Comment options

Comment options

You must be logged in to vote
4 replies
@mkb79
Comment options

@Travillion
Comment options

@Travillion
Comment options

@mkb79
Comment options

Comment options

You must be logged in to vote
1 reply
@mkb79
Comment options

Comment options

You must be logged in to vote
1 reply
@mkb79
Comment options

Answer selected by Travillion
Comment options

You must be logged in to vote
6 replies
@Travillion
Comment options

@mkb79
Comment options

@mkb79
Comment options

@Travillion
Comment options

@mkb79
Comment options

Comment options

You must be logged in to vote
2 replies
@Travillion
Comment options

@mkb79
Comment options

Comment options

You must be logged in to vote
2 replies
@mkb79
Comment options

@Travillion
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants