curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: curl on embedded device

From: Thomas Schmiedl via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 4 Jun 2020 19:05:46 +0200

Am 04.06.2020 um 17:03 schrieb Rainer Canavan via curl-users:
> On Thu, Jun 4, 2020 at 7:47 AM Thomas Schmiedl via curl-users
> <curl-users_at_cool.haxx.se> wrote:
>>
>> Hi,
>>
>> maybe someone can help me. I try to download a ts-file from Youtube
>> (e.g. from this livestream https://www.youtube.com/watch?v=F2ARbcgQN1s).
>> The download works on my Debian 10-PC, but not in a chroot'ed Debian 10
>> on the router (mips).
>>
>> Background is, I use xupnpd2-mediaserver to transfer some HLS-streams to
>> the TV in combination with haproxy (reverse proxy) for the https-support
>> (xupnpd2 doesn't support https). In haproxy it's the same behaviour like
>> curl for the Youtube-download. Thanks for your help.
>
> You'll have to compare the output of curl -v succeeding and failing
> the download. Have you considered using youtube-dl instead? Maybe
> with a "fake" ffmpeg script specified via --ffmpeg-location to move
> the video chunks to wherever you need them?
Attached the output of curl -vv. The succeeding returns a HTTP-status
200, failing HTTP-status 302.
>
> Is that a Debian chroot on a FritzBox, or have you moved to another device?
Fritzbox 7362 SL

Thanks, Thomas
>
> rainer
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html

  • text/plain attachment: pc.txt
Received on 2020-06-04