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

Ketch can't download file from some url #29

Open
a1x007 opened this issue Sep 4, 2024 · 2 comments
Open

Ketch can't download file from some url #29

a1x007 opened this issue Sep 4, 2024 · 2 comments

Comments

@a1x007
Copy link

a1x007 commented Sep 4, 2024

If i use this type url - https://ssv2de.ytjar.xyz/rr2---sn-ixh7yn7d.googlevideo.com/videoplayback?expire=1725473530&ei=mk7YZtHeN8ePv_IPoLOg2QQ&ip=2a01%3A4f9%3A5a%3A22c0%3A%3A2&id=o-AGJYaakTU70CNRFNqf_DhKUIeW6oT8umzi0LZNDbtS89&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=65&mm=31%2C26&mn=sn-ixh7yn7d%2Csn-4g5edndl&ms=au%2Conr&mv=m&mvi=2&pl=44&gcr=de&initcwndbps=846250&bui=AQmm2ewig3e6cZ5FmvD0lhnAwtYGbl7IpnV1nO5KkNXlRxKGfwpZJpN7m6qM5-iQn-L5oBtlkVKbuNRn&spc=Mv1m9oAgXvk95spuRuKj_OkUVvGaFCoaf_9OmnUdC9dU1g7Uefr0&vprv=1&svpuc=1&mime=video%2Fmp4&ns=DRypCk1EV6OL9B3GilHSQusQ&rqh=1&gir=yes&clen=14761456&ratebypass=yes&dur=198.414&lmt=1724458486227757&mt=1725451508&fvip=3&c=WEB&sefc=1&txp=5538434&n=_rj50ti4YTM7nw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABPmVW0wRgIhANrIcnZzLN__0rSmBmgDpZpi15tx3s1k2pZf7TabeDOGAiEAgyTBlCZyJZwmMstMTaJrrase7tLVlBuzSpDji2NitPE%3D&sig=AJfQdSswRQIgFTTlrQMJv92Qw8le9iPtWgfvbI-7niCyjjbP6u94-nYCIQDP8dhuVAsK8nRQmLIxNSCwPSfJOcYlWif8VdLaEKNi1Q%3D%3D&title=Sabrina%20Carpenter%20-%20Taste%20%28Official%20Video%29.mp4 it simply gives error but if i try simple url then its working fine. On the other hand if i use PRDownloader library then its downloading the files from this type url just fine. And i also check postman for this type url only accept get request and its sending information as chunked so i guess if ketch can't get total file size or file name, type, etc then ketch cant download

@khushpanchal
Copy link
Owner

Could you share the failure reason you are getting ?
Also please note as of now for ketch to work properly content-length should be given by the url, then only ketch can show the progress and pause resume can work properly.

@itsallan
Copy link

itsallan commented Oct 1, 2024

W A connection to https://videohostedsite.com/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2024-10-01 03:05:22.750 32238-32722 okhttp.OkHttpClient @khushpanchal this is the error am getting

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

3 participants