diff --git a/Project files/RTMP-Downloader/Descargador.cs b/Project files/RTMP-Downloader/Descargador.cs index 060f0cb..06e8454 100644 --- a/Project files/RTMP-Downloader/Descargador.cs +++ b/Project files/RTMP-Downloader/Descargador.cs @@ -60,9 +60,17 @@ public bool download () string parametroO = Utilidades.GetParametro(url, "o"); if(parametroO.IndexOf(":\\") == -1){ - url = Utilidades.ReemplazaParametro (url, "o", MainClass.configs.rutaDescargas + parametroO); } + + if(MainClass.configs.proxy != null && MainClass.configs.proxy != ""){ + if(Utilidades.GetParametro(url, "S")!=""){ + url = Utilidades.ReemplazaParametro (url, "S", MainClass.configs.proxy); + } + else{ + url += " -S \""+MainClass.configs.proxy+"\""; + } + } Debug.WriteLine(Utilidades.WL("Iniciando proceso RTMPDump para = "+url)); procesoRTMPDUMP = new ProcessStartInfo (); diff --git a/Project files/RTMP-Downloader/HTML.cs b/Project files/RTMP-Downloader/HTML.cs index 116ac72..eb588c9 100644 --- a/Project files/RTMP-Downloader/HTML.cs +++ b/Project files/RTMP-Downloader/HTML.cs @@ -47,6 +47,12 @@ public static class HTML "