-
Notifications
You must be signed in to change notification settings - Fork 5
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
Prevent those quality of videos from downloading that are not present #3
Comments
@anshumanv Can you add the appropriate labels to this? Thanks! Also, I will solve this issue first, then issue #1. |
Thanks for checking that out for me @fadedcoder ! |
@fadedcoder is this done ? |
@anshumanv Nearly done, but I'm facing some weird server issues rn. Does the website ban the user for too many searches? Because it's acting weird for me. |
I'm not sure about that since I never faced it. |
I'm pushing the PR. Please test it on your side too. |
Sure thing 👍 |
I made a weird discovery (found a new bug). All episodes don't have the same qualities available. This is what was causing the problem in my code. To reproduce this bug, please search for "Charlotte", and use "save them for later". When I used 1080p, only episode 12 had that quality. When I used 480p, all episodes except 8 had that one. I'm looking into a way to fix this, but this might take some time :/ |
I have an idea in mind: If the user, let's say, chooses 1080p, but only 720p is available, it will be automatically downgraded to 720p, and a WARNING message will be printed. Similarly, if the user chose 720p but it wasn't available, it will get downgraded to 360p. This idea ensures no weird bugs, and will downgrade to the nearest quality next to the chosen one, while informing the user. @anshumanv if you are okay with this idea, please tell so. I will make the PR for the same tomorrow. |
This will work well, please send a PR
…On Oct 4, 2017 11:34 PM, "Soham Sen" ***@***.***> wrote:
I have an idea in mind: If the user, let's say, chooses 1080p, but only
720p is available, it will be automatically downgraded to 720p, and a
WARNING message will be printed. Similarly, if the user chose 720p but it
wasn't available, it will get downgraded to 360p.
This idea ensures no weird bugs, and will downgrade to the nearest quality
next to the chosen one, while informing the user.
@anshumanv <https://github.com/anshumanv> if you are okay with this idea,
please tell so. I will make the PR for the same tomorrow.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUCUL8_ZJrHfffjq2l_64821cFhGGhHWks5so8jHgaJpZM4PsOA7>
.
|
If I were to select 360p video quality for a particular anime and one of the episodes of the anime doesn't have a video quality of a 360p but it has that of either 480p, 720p or 1080p, will the video quality be upgraded for that episode? |
I think every episode has 360p available, if not, can you find me an episode which doesn't have a 360p but only higher quality, I think we assumed that every episode has 360p 😅 |
Those are the links for the three latest episodes of one piece in the previous comment above They only have one quality option which is 720p. |
@anshumanv |
Hey @bnu123 thanks for checking this out 😄 , I'm afraid I'm not maintaining this right now, will jump back if I fix something. 👍 |
While fixing issue #1, I found that those episodes that don't have a specific quality available (see example below), don't output their links. Neither do they show any errors.
Example -
Search for "shiki" and choose 1080p.
The text was updated successfully, but these errors were encountered: