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

Add -randomorder to download command. #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wesley-Chan
Copy link

Some of us have bad Internet connection. If the download process is being taken out in alphabetic order every time, the whole download process would be stuck indefinitely at some large games in the middle of the line if we retry the download again and again, while the small games at the end of the line never got a chance to be downloaded. One solution I can think of, is to download them in a randomized order.

This commit adds -randomorder to download command. If so, shuffle is used to shuffle the items list, otherwise it remains untouched as original code.

./gogrepo.py download -randomorder

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

Successfully merging this pull request may close these issues.

1 participant