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

Adding a forward slash at the end of extracted Exhentai links? #2947

Closed
a84r7a3rga76fg opened this issue Sep 20, 2022 · 3 comments
Closed

Adding a forward slash at the end of extracted Exhentai links? #2947

a84r7a3rga76fg opened this issue Sep 20, 2022 · 3 comments

Comments

@a84r7a3rga76fg
Copy link

Can it be done with the config file and can someone help me please

@afterdelight
Copy link

please explain in a more detailed sentences and provide an example please

@a84r7a3rga76fg
Copy link
Author

I want there to be a forward slash at the end of the link

https://exhentai.org/g/2331917/4a8774251c/

@mikf
Copy link
Owner

mikf commented Sep 21, 2022

It could not have been done with a config setting, so I did a small code change since the actual URLs on exh also end with a / (94b34f4).

I guess you could have written a small shell script that iterates over URLs end adds a / after them:

#!/bin/sh

while read -r LINE; do
    echo "${LINE}/"
done < <(gallery-dl -g "$URL")

@mikf mikf closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants