Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

reserved proxy to edit a file

$
0
0
hey,

i want to edit a m3u file which i download from tvheadend... the file looks like this


#EXTINF:-1 tvg-id="caa2fba86f064731beb97ed03f8cddf5",channel1
http://ip:9981/stream/channelid/687579850
#EXTINF:-1 tvg-id="bc97bedf581ea1bcbdb0d7db004b2245",channel2
http://ip:9981/stream/channelid/1606326204
#EXTINF:-1 tvg-id="d9d45e620c219249c2d4345d7d46fd4c",channel3
http://ip:9981/stream/channelid/1650382041
#EXTINF:-1 tvg-id="d950ed45a7ec93c02a196d56a097a175",channel4
http://ip:9981/stream/channelid/1173180633

the file is available at http://username:password@ip:9981/playlist... so now i want to get a edited file that looks like this:


#EXTINF:-1 tvg-id="caa2fba86f064731beb97ed03f8cddf5",channel1
http://username:password@ip:9981/stream/channelid/687579850
#EXTINF:-1 tvg-id="bc97bedf581ea1bcbdb0d7db004b2245",channel2
http://username:password@ip:9981/stream/channelid/1606326204
#EXTINF:-1 tvg-id="d9d45e620c219249c2d4345d7d46fd4c",channel3
http://username:password@ip:9981/stream/channelid/1650382041
#EXTINF:-1 tvg-id="d950ed45a7ec93c02a196d56a097a175",channel4
http://username:password@ip:9981/stream/channelid/1173180633


is it possible that nginx edit the file for me with the different usernames...?

greetz and thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>