Skip to content

Commit

Permalink
Fix csfd image scraping error for https
Browse files Browse the repository at this point in the history
  • Loading branch information
zbyna committed May 30, 2017
1 parent f4b6c71 commit 191684c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit8.pas
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ procedure parallelDownloadJob(const Job:PPasMPJob;const ThreadIndex:longint;
'</h2>');
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;
Expand Down

0 comments on commit 191684c

Please sign in to comment.