Skip to content
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

Feature: download error when acsm files get an number with the same name #5

Open
olielvewen opened this issue Sep 14, 2021 · 2 comments

Comments

@olielvewen
Copy link

olielvewen commented Sep 14, 2021

Hi Adrien

When we download using multiple .acsm files which are named identically and therefore these are just differentiated by a number in parentheses, we get the following error.

The goal is to be able to download in the folder of your choice, not necessarily the Download directory

This has been identified in this bug #2

@olielvewen
Copy link
Author

I have not access to the labels and even assigned to me for the last.

@adrienmetais
Copy link
Owner

Hello Olivier,

Indeed all files are named URLLink.acsm for some reason, and your browser will add the "(x)" in the file name to distinguish them if you download them in the same directory.

If you want to manipulate this file on the command line, you will need to escape the parenthesis in the name (with '\'), or bash will not understand the command (they are special characters), like so:
./adl.py get -f /home/olivier/Ebook/URLLink\(1\).acsm

This is true for any file name manipulation with bash, and is not related to adl.

However, adl will always download the epub in the current working directory.
Adding an option to download the epub in another directory might be a useful feature. Is this what you are requesting ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants