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

rezka changed voidboost #5

Closed
10kkm opened this issue Jan 12, 2024 · 6 comments
Closed

rezka changed voidboost #5

10kkm opened this issue Jan 12, 2024 · 6 comments

Comments

@NIKDISSV-Forever
Copy link
Owner

Changing these links doesn't affect the functionality of the package in any way, I didn't quite understand what you want?

@10kkm
Copy link
Author

10kkm commented Jan 13, 2024

It doesnt give correct links to download. When i try to open them it gives error that not found.

@NIKDISSV-Forever
Copy link
Owner

but does the video load normally on the site? And to solve this, are you saying to replace voidboost links?

@10kkm
Copy link
Author

10kkm commented Jan 15, 2024

On website i see 301 to link without prefix, then see links that have phaeton and etc, and they r different of ones from script

@NIKDISSV-Forever
Copy link
Owner

I see, it will be fixed soon.

@NIKDISSV-Forever
Copy link
Owner

import hdrezka
async def main():
    player: hdrezka.PlayerMovie = await hdrezka.Player('https://rezka.ag/films/drama/1027-terminal-2004.html')
    stream = await player.get_stream()
    best = await stream.video.last_url # the original stream.video.last_url hasn't been edited, a new VideoURL has been returned
    worst = await stream.video[stream.video.min].last_url
    print(best)
    print(worst.mp4)

Just add await for each url.

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

No branches or pull requests

2 participants