-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the fetch-lcp command to have two subcommands #15
Conversation
…e manifest and one to fetch the underlying LCP file and lcpl license file.
74efcae
to
d95a41f
Compare
None, help="Password to present to the OPDS server." | ||
), | ||
username: str = typer.Option(..., "--username", "-u", help="Username or barcode."), | ||
password: str = typer.Option(None, "--password", "-p", help="Password or PIN."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated these to match the fetch_lcp
command, since one took args and one took options. Was a bit confusing when using the two commands back to back.
@@ -1,6 +1,6 @@ | |||
# Some defaults | |||
DEFAULT_ASYNC_TIMEOUT = 30.0 | |||
DEFAULT_AUTH_DOC_PATH_SUFFIX = "/authentication-document" | |||
DEFAULT_AUTH_DOC_PATH_SUFFIX = "authentication_document" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needed to be updated to be able to use the OPDS Server Heuristic
args to patron-bookshelf
.
if link.properties | ||
else None | ||
): | ||
print(f" LCP hashed passphrase: {hashed_pw}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is useful to have included in the output for the bookshelf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎸
One that fetches a manifest, and one that fetches the lcp and lcpl files.