From 191684cbc506a67d6b657a3480243ead9292bd45 Mon Sep 17 00:00:00 2001 From: zbyna Date: Tue, 30 May 2017 20:39:21 +0200 Subject: [PATCH] Fix csfd image scraping error for https --- unit8.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit8.pas b/unit8.pas index 2dd8533..e476b1f 100644 --- a/unit8.pas +++ b/unit8.pas @@ -319,7 +319,7 @@ procedure parallelDownloadJob(const Job:PPasMPJob;const ThreadIndex:longint; ''); pomArrayObrazek[fromIndex]:= (w as TXQValueObject).getProperty('obrazek').get(1).toString; //DebuglnThreadLog(pomArrayObrazek[fromIndex]); - if (Pos('http:',pomArrayObrazek[fromIndex]) = 0) then + if (Pos('http',pomArrayObrazek[fromIndex]) = 0) then pomArrayObrazek[fromIndex]:='http:'+pomArrayObrazek[fromIndex]; pomArrayNazev[fromIndex]:=(w as TXQValueObject).getProperty('nazev').get(1).toString; pomArrayRok[fromIndex]:=(w as TXQValueObject).getProperty('rok').get(1).toString;