- Регистрация
- 03.08.2012
- Сообщения
- 14
- Благодарностей
- 0
- Баллы
- 1
I'm scraping some info and downloading some images from a site and saving the info to a file to later re-upload the images but have run into a problem.
Everything works as it should but when I look at the image folder there is one less than there is in the list. I noticed that where there are duplicate image names, it appends (1) as it should but when I have an image that is thumbnail(1).png and one that is Thumbnail(1).png it only saves the one with the capital T.
I can not figure out how to avoid this, any help is appreciated.
Everything works as it should but when I look at the image folder there is one less than there is in the list. I noticed that where there are duplicate image names, it appends (1) as it should but when I have an image that is thumbnail(1).png and one that is Thumbnail(1).png it only saves the one with the capital T.
I can not figure out how to avoid this, any help is appreciated.