hare1039 / iwara-dl

This program downloads iwara.tv videos
MIT License
63 stars 11 forks source link

Question about the 'retry' argument #17

Closed amamiya-yuuko-1225 closed 1 year ago

amamiya-yuuko-1225 commented 1 year ago

Hi, Due to the usage part in readme, there is a retry argument like this: --retry [count] Max time to retry the download fail However, the count parameter is not accepted, since the code in iwara-dl.sh reads like: --retry ) export IWARA_RETRY="TRUE"; shift; ;; and in func iwara-dl-retry-dl() in iwaralib.sh: if [[ "$IWARA_RETRY" != "FALSE" ]] ; then It seems that the [count] parameter is not supported yet, so maybe it's better to modify the help info about [retry]. Best regards

hare1039 commented 1 year ago

@amamiya-yuuko-1225 Thanks The arguments are not consistent because of the new iwara website and I don't have much time to work on this.

The code is pretty messy now. Feel free to send a PR to make it better