Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If no png is available in web repositories, site HTML response is saved as png file. #14

Open
spleen1981 opened this issue Aug 10, 2020 · 0 comments

Comments

@spleen1981
Copy link

Downloaded file with the following function:

DownloadFile(UrlToFile, SaveFileAs, Overwrite := True, UseProgressBar := True) {

Should be tested considering the following:

The first eight bytes of a PNG file always contain the following (decimal) values:
137 80 78 71 13 10 26 10

If downloaded file is not a valid png, it should be deleted (or download interrupted) and entry should be added to unmatched pngs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant