curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: who can write a small app using curl-lib

From: René Berber <rene.berber_at_gmail.com>
Date: Sat, 28 Apr 2018 13:29:46 -0500

On 4/28/2018 10:29 AM, Thomas Schmiedl wrote:
> Am 27.04.2018 um 21:53 schrieb René Berber:
[snip
>> You probably don't need a program, a script that uses curl is enough for
>> what you describe.
>>
> I will ask for a script, maybe the curl-php-mailinglist.

Its very simple from what you describe (and btw doesn't need curl at
all). I would modify xupnpd2 adding one line that makes the replacement
of https to http (i.e. a simple search & replace on the file, which can
be done running sed on the file -- sed is a stream editor usually
installed in base Linux, and easy to get for any OS).

> https://github.com/clark15b/xupnpd is version 1 and didn't worked for
> me. After I contacted the russian author, he developed version 2 (xupnpd2).

Isn't the code at the same place?

> For better understanding: The playlist and the ts-files from
> http://www.skylinewebcams.com/de/webcam/czech-republic/prague/prague/old-town-bridge-tower.html
> are downloadable in 'https' and 'http'. But the file content of the
> playlist contains always 'https'-links to the ts-files. I need a
> solution to replace this links to 'http', that xupnpd2 is able to
> download the ts-files via 'http'.

Got it! Then as I said above, its very simple, I'm surprised the author
doesn't make the change himself.

-- 
R. Berber
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-04-28