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

Fix issue 136: Download music by "Search Music" error #158

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

CallMeHFK
Copy link
Contributor

Describe the bug
Music can download but size is 0

To Reproduce
Steps to reproduce the behavior:

Go to 'Search Torrents'
Change to 'MUSIC' search
Click 'Search',then download some music.
See error
Expected behavior
Music can be download and can play normally

Desktop (please complete the following information):

Any device
Smartphone (please complete the following information):

Any device
How to fix
Goto file: /apps/ncdownloader/lib/Search/Sites/sliderkz.php

Fix :
protected function getDownloadUrl(array $item): string
{
extract($item);
return sprintf("https://slider.kz/%s/%s/%s/%s.mp3?extra=null",$id,$duration, $durl, urlencode($tit_art));
}

@CallMeHFK
Copy link
Contributor Author

@shiningw Please release this?

@shiningw shiningw merged commit 5f9c4d0 into shiningw:master Jun 6, 2024
Copy link
Contributor

@Happyfeet01 Happyfeet01 left a comment

Choose a reason for hiding this comment

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

i must change the URL to hayqbhgr.slider.kz

at line 40 and 11 to https://hayqbhgr.slider.kz then it works.

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.

3 participants