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

Added functionality for ranges of movies in cli mode #14

Closed
wants to merge 1 commit into from

Conversation

tsepuri
Copy link

@tsepuri tsepuri commented Jul 8, 2020

Instead of only picking a single movie from the list of results, I changed the functionality so that users can select multiple movies using '-' for a range and ',' for unique numbers. For example:

Please Enter Movie Number: 0, 2-7 downloads movies 0, 2, 3, 4, 5, 6 and 7.

@RafayGhafoor RafayGhafoor self-assigned this Jul 9, 2020
):
logger.debug("Downloading Subtitle: {}\n".format(i))
names = subscene.dl_sub(i)
time.sleep(1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is delay added?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To combat certain cases where beautiful soup attempted to scrape the page before it loaded completely

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.

None yet

2 participants