Issues saving images
hossamantarkorin opened this issue · 2 comments
Thanks for the very helpful video and code. For some reason, and though I see the code iterating over all the images in the browser (I specified 1000), only 5 are saved out of the 1000 in my folder. Is there a reason for this?
Also, it seems that the kernel gets stuck (remains in busy) while no other images are being saved to the folder.
code:
`from GoogleImageScrapper import GoogleImageScraper
import os
webdriver_path = os.getcwd()+"\webdriver\chromedriver.exe"
image_path = os.getcwd()+"\photos"
#add new search key into array ["cat","t-shirt","apple","orange","pear","fish"]
search_keys= ['crash collision incident i 95 florida']
number_of_images = 1000
headless = False
#min_resolution = (width,height)
min_resolution=(0,0)
#max_resolution = (width,height)
max_resolution=(1920,1080)
for search_key in search_keys:
image_scrapper = GoogleImageScraper(webdriver_path,image_path,search_key,number_of_images,headless,min_resolution,max_resolution)
image_urls = image_scrapper.find_image_urls()
image_scrapper.save_images(image_urls)`
Output
[INFO] Scraping for image link... Please wait. [INFO] 0. https://www.news4jax.com/resizer/o6Sq5_Mhw7hrZKPVAasf2RpowJw=/800x450/smart/filters:format(jpeg):strip_exif(true):strip_icc(true):no_upscale(true):quality(65)/cloudfront-us-east-1.images.arcpublishing.com/gmg/MFWYNNUSL5BO3MAGCV4CIXZR7U.jpg [INFO] 1. https://www.news4jax.com/resizer/UEA1HcqsBXSy1OSaQIcKE25O1Hk=/800x450/smart/filters:format(jpeg):strip_exif(true):strip_icc(true):no_upscale(true):quality(65)/cloudfront-us-east-1.images.arcpublishing.com/gmg/WLTKQX7YX5FOVEEHNIO652LQGU.jpg [INFO] 2. https://www.sun-sentinel.com/resizer/mRv49fbuHY1VlFVqQgrqfVSMJEE=/415x262/top/arc-anglerfish-arc2-prod-tronc.s3.amazonaws.com/public/676TIO5J4BFMDADZMNP7I7GDZU.JPG [INFO] 3. https://www.news4jax.com/resizer/lIsqH3kiuDjpJHKztWcdOYGpU7s=/800x450/smart/filters:format(jpeg):strip_exif(true):strip_icc(true):no_upscale(true):quality(65)/cloudfront-us-east-1.images.arcpublishing.com/gmg/PRZHYYJLFZBQPH2DPWPYMGJNTY.jpg [INFO] 4. https://www.news4jax.com/resizer/O9kHEVuZk4ugM4sUqJztffZ4lnI=/425x238/smart/filters:format(jpeg):strip_exif(true):strip_icc(true):no_upscale(true):quality(65)/cloudfront-us-east-1.images.arcpublishing.com/gmg/3OA7XLUA4JDTJMJXT5ZYAZ3DHQ.jpg [INFO] 5. https://www.miamiherald.com/latest-news/xmy4la/picture250435526/alternates/FREE_1140/crash.jpeg [INFO] 6. https://d1vhqlrjc8h82r.cloudfront.net/06-18-2020/t_9e20dede06ec4445836bd838022173ca_name_image.jpg [INFO] 7. https://spacecoastdaily.com/wp-content/uploads/2021/04/Crash-I-95-Viera.jpg [INFO] 8. https://miami.cbslocal.com/wp-content/uploads/sites/15909786/2019/04/crash-4.jpg?w=640&h=360&crop=1 [INFO] 9. https://d1vhqlrjc8h82r.cloudfront.net/04-05-2021/t_e9f9a160a4bb492a9ba249c0d74b90d1_name_image.jpg [INFO] 10. https://www.gannett-cdn.com/presto/2020/09/14/NDNJ/3f9032f5-6b1a-4a5a-b1ea-0c32412160cb-DTB_I-95_Crash_03.jpg?width=660&height=439&fit=crop&format=pjpg&auto=webp [INFO] 11. https://www.gannett-cdn.com/presto/2019/12/23/PBRE/9d6599fe-92b8-4ab3-8c9a-9637842cd838-christmas_crash_1.jpeg?auto=webp&crop=269,152,x0,y72&format=pjpg&width=1200 [INFO] 12. https://media.nbcmiami.com/2021/05/051921-tesla-crash-miami-dade-county.jpg?quality=85&strip=all&resize=1200%2C675 [INFO] 13. https://media.firstcoastnews.com/assets/WTLV/images/7d252128-2245-49b7-ba12-cdf54f9c7c8c/7d252128-2245-49b7-ba12-cdf54f9c7c8c_1920x1080.jpg [INFO] 14. https://d1vhqlrjc8h82r.cloudfront.net/04-26-2020/t_519d35809cea472d9bc379f991d0d70e_name_image.jpg [INFO] 15. https://www.sun-sentinel.com/resizer/81Dcj8qUajHm7jvBaUX-urN7o1E=/415x230/top/arc-anglerfish-arc2-prod-tronc.s3.amazonaws.com/public/XDFGUV7XLJAM7E5NA34ZNVNRF4.JPG [INFO] 16. https://miami.cbslocal.com/wp-content/uploads/sites/15909786/2019/09/Black-Nission-I-95-Accident.jpg?w=640&h=360&crop=1 [INFO] 17. https://miami.cbslocal.com/wp-content/uploads/sites/15909786/2021/05/Chase-2.jpg?w=640&h=360&crop=1 [INFO] 18. https://media.firstcoastnews.com/assets/WTLV/images/3b51b46d-a2fc-421a-9968-ef5d916d4b68/3b51b46d-a2fc-421a-9968-ef5d916d4b68_1140x641.jpg [INFO] 19. https://www.sun-sentinel.com/resizer/1Rshe7voHSd1bUfzfUMKbkQ9NQ8=/415x232/top/www.trbimg.com/img-5c34b52d/turbine/fl-1546958121-4ya0n6dvj0-snap-image [INFO] 20. https://www.clickorlando.com/resizer/EY5QPjck5-e6eNrSQpNXkgJku-0=/640x360/smart/filters:format(jpeg):strip_exif(true):strip_icc(true):no_upscale(true):quality(65)/arc-anglerfish-arc2-prod-gmg.s3.amazonaws.com/public/WHWRPALXURAQLGTV63AT2DKPMA.jpg [INFO] 21. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRApnqVhGGRlipTvvQqdOcrZJSPpB55CJ5GpA&usqp=CAU [INFO] 22. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ3fJ0SpYAEmQevH5gld57MZ-NnNYPpAJ18cw&usqp=CAU [INFO] 23. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQzXNkLnSrzOUP9B1Hqo_zCpaa4qccXNoqcfg&usqp=CAU [INFO] 24. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSslyEX_215G-9R4rJ1a9TZ9aSvyFdyOOoZAQ&usqp=CAU [INFO] 25. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ7rNSRn5bQFtMF77Fyk30d6m1NbrwRHcOXrw&usqp=CAU [INFO] 26. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTpxt1DMvHOIogFYaoAD4HajsEbBC12UF0CBQ&usqp=CAU [INFO] 27. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQIHAGBgfegzN-GeCCH28T1xRdaFSdm9EE3Iw&usqp=CAU [INFO] 28. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcStRNyWNH5edqym9E6yKD642mU6uxLxdFO-Hw&usqp=CAU [INFO] 29. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSdCqvhbgtbEGMBBBUQz2UGGpREvLpe6sEavA&usqp=CAU [INFO] 30. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQSMpn8Tn2MDmPbB0B6vB3frrsUalH-XxowvA&usqp=CAU [INFO] 31. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSs-1Hi4dk3XFyBomHhaIMjNh85WNpMwE9d8A&usqp=CAU [INFO] 32. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSDPEZi5BAzgaa9taAhTceTVDQHWCv8SkhsXg&usqp=CAU [INFO] 33. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQKHqIbdQ5l-oI4VdHdMbilHcD4nd2L4zuESQ&usqp=CAU [INFO] 34. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQilFT3F0Ck1Sili635SpOjmJ0a-odi8UBZwA&usqp=CAU [INFO] 35. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR4IQF951rx--MAsM5YWcwd3dyIfFjOW7vMGg&usqp=CAU [INFO] 36. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSaSWj0uV1JZv_hUeOyje48UBqkXF8VxArPKw&usqp=CAU [INFO] 37. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTQwfb4rpErh7SvU8smXegt3U4_w_625W3tlw&usqp=CAU [INFO] 38. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT8SUuIKEttDYJSrQq98csd7Wo_W8VDUgq3GQ&usqp=CAU [INFO] 39. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS8pxgAeolQScnAzMAl5ophxA3h6WWZFWHxlw&usqp=CAU [INFO] 40. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTtptVO19FZTkI2eRX7D3O8AySAaySP1nGMfQ&usqp=CAU [INFO] 41. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRJAegRUc8ugX072cFF7eFjrdHte85LYfKQbw&usqp=CAU [INFO] 42. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcROkCC2hnRw_IdBAKqe6VGI0TNwmSqGL480pg&usqp=CAU [INFO] 43. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSmRNy6SFpcSQxyEwn_neK4d2XJAGo3_TWpaw&usqp=CAU [INFO] 44. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQA8Oa5SIy-C2CLgj8az1B220msQWL416BuXg&usqp=CAU [INFO] 45. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRODONJRyjKPQueoB_m3_vf6wvYt650pfBNRA&usqp=CAU [INFO] 46. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2erHFoYpS2bBMS3tP0DRXb5yt247KX8WugQ&usqp=CAU [INFO] 47. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSCNFNNHYJc8RM5kMexjhk2bAdykn0HJWIlrw&usqp=CAU [INFO] 48. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRsiagq1h9ugLw_detJym7kKDHnZtxGnup1Q&usqp=CAU [INFO] 49. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSLswklBJT7zt6vgiTmujeSFn2j9rZ8PZksAg&usqp=CAU [INFO] 50. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQCFB53SrqeEsEAvvAtM-ry-GEZnm--BJrYnQ&usqp=CAU [INFO] 51. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSYAKwEztQQ_c7OQTe22eiwkZIe-C2mZDQqhg&usqp=CAU [INFO] 52. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT9NZ_JjOPxbBxbmWH7YL_qaCwyiXmgcCe9gQ&usqp=CAU [INFO] 53. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSyTgaoiQIh8txUufdb3fnqqbHhURiROhvbeg&usqp=CAU [INFO] 54. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR4YWRkuzua6d9mZKSRZ6SWpQ6d44jIsHxueQ&usqp=CAU [INFO] 55. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRd-odGaV6-qXqNNA-eghyyN_UidNBLCVZ-5Q&usqp=CAU [INFO] 56. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRCYsQ-Gq6ZdKiEZZEYRTtoBFPUd1JqQt4a-Q&usqp=CAU [INFO] 57. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRwXt9PBWc7MAGJxwHyEckK89w8uYcagxJEnw&usqp=CAU [INFO] 58. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFTLq1yCRDBSpNrcPvyx5eCd4yM2XyqPXfSg&usqp=CAU [INFO] 59. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTFidExJ5amOFJS_H2KaFCNxhTBRqBcrW5RDQ&usqp=CAU [INFO] 60. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlVk_KowIsv6rk1XDbXYupVbymgSJYTaIUlg&usqp=CAU [INFO] 61. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcScLagKmw4uqbcM6mOW7nvAF4I9qVRW4f44Uw&usqp=CAU [INFO] 62. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTo6Z67gtAbBtsqRtipig4ZZQGRzJMQUolpew&usqp=CAU [INFO] 63. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSO3Vd7AjftCds6-g-fNo2T4eR4CyEB5Iw-Bw&usqp=CAU [INFO] 64. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTkmhc2K5tMwxpMhloAr7qhS6kp1dTvxQrhLw&usqp=CAU [INFO] 65. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRDpwdetGwDIyhUR3oRTGUq88-Xa3W-b58K8Q&usqp=CAU [INFO] 66. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTduPXjMQOUpLCLgD8yFBcQJMaM3odxhppr1A&usqp=CAU [INFO] 67. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQbsGSkCOWP_cbtTbcIg5XEOuuZe31cWKN1kg&usqp=CAU [INFO] 68. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRWSGODp_BfrJWQ3tj6PJb1Evq6F3c9kNLqng&usqp=CAU [INFO] 69. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRkEKUAsV05eVoQRU-Vg6bnDd3DzWrs4opTOA&usqp=CAU [INFO] 70. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTjvUOPcLKzcxb6Jp_K5GJe2Wy74M6nzVY7JA&usqp=CAU [INFO] 71. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQmAYGPdSiIJg_ZXj89d28SvskmEJ7rXYbDog&usqp=CAU [INFO] 72. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTPoz314F28ZeHRy8uVLjv2Z_Or6n7rHhKRBQ&usqp=CAU [INFO] 73. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTwvT05YCGEuvEnQFe-eKHVWYeKyZEYkJ9WJA&usqp=CAU [INFO] 74. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2N9eN3-EFN-io3bI_UMhtZl6epTQenRV9KQ&usqp=CAU [INFO] 75. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR6oZH1TM4in_n659o36iT3Ej1wJ9ngG8TQ3Q&usqp=CAU [INFO] 76. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTLZJZcZe4AMIxWbpXSxyz82GohcfmRpF8qSg&usqp=CAU [INFO] 77. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRA_bNkoSEJ7oZHlmy_Nf1icmVK6nHfC2bulA&usqp=CAU [INFO] 78. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS_Ccd5HJjNqAW1qG4Epzr9a0FI3LBEL3M0Eg&usqp=CAU [INFO] 79. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2Ir5_msSSf7cAc3S9S82x4NaOi7ZA-ExVTg&usqp=CAU [INFO] 80. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTZhaPT0hjpOkZob0JsVXrauDPC8jTCy7nPIw&usqp=CAU [INFO] 81. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1eja06IMndbO4rcbhy5pQBS1MrxnAmjH1Kw&usqp=CAU [INFO] 82. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSczbGG_27OmMM2kCFMb3XYWq_OKpAz--KsRw&usqp=CAU [INFO] 83. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTbPDH8hPBY3DD7xux3ODffsU1GEdqaXFuzaA&usqp=CAU [INFO] 84. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDJ-yYgUZfO0QATgH5y5tLWK6XGOS9fLWXzQ&usqp=CAU [INFO] 85. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTfI6lDBZ4I84YpsWCzsp2q53RtWxb_CYU_Bw&usqp=CAU [INFO] 86. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRn0h04XlLbneVwv6OhkaxbaHWrvQqefokx_Q&usqp=CAU [INFO] 87. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSXUpTYaLPf4MEdS93BPvbbIZyzlLnFf27QUQ&usqp=CAU [INFO] 88. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRoRwRxP6WQQeo9t5MHn19i5agNuxfuQ_4RqA&usqp=CAU [INFO] 89. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS1gF0Mv5nIus-qSZ4x5NhfV148CPFDOQS5IA&usqp=CAU [INFO] 90. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSfshEuTVruh9t_hm9mn1v3XeNzmJ7RXbbpvw&usqp=CAU [INFO] 91. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRIrpsQ6RNOsUl3NhoNvUHvGIjTZZEyWQ0VQg&usqp=CAU [INFO] 92. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTdqR5XCdU-DZS_-N5PVuvldSLCJaufUHKh9g&usqp=CAU [INFO] 93. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9UYtQyCASOOk-1u73K_eGcT2oeeUJaVSWtA&usqp=CAU [INFO] 94. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkDp-BUHklEHDqVcalv3nhpCBo_PphbJCkVA&usqp=CAU [INFO] 95. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR-OXW344NGwW8qNgJtdVVhPesUCksEwSGQPQ&usqp=CAU [INFO] 96. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSbX4KDje-roHT-6r_yhMIw2OdEShuAthJyew&usqp=CAU [INFO] 97. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTWNRgqWiMCvEZHIXRhybYGj6lhX0DeYAL8_w&usqp=CAU [INFO] 98. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRdPXA3KWY2UnK9XOHTW0dGKVu-rAQ4Ww5Mog&usqp=CAU [INFO] 99. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTFG46NAKU_6g5RsGrSMZIL1IZ89_wgfaQdYA&usqp=CAU [INFO] Unable to get link [INFO] 100. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlrTWC6j-iiqfQq4gxLPbbfudAi8DuMgXocQ&usqp=CAU [INFO] 101. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTx_lJlN1HZaUen7d_0vKhI5pdsgVCHMA3sGQ&usqp=CAU [INFO] 102. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ2AMusoLV2AE_AOkqDnJ9OVf2__pnMZU4PlQ&usqp=CAU [INFO] 103. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9UYtQyCASOOk-1u73K_eGcT2oeeUJaVSWtA&usqp=CAU [INFO] 104. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkDp-BUHklEHDqVcalv3nhpCBo_PphbJCkVA&usqp=CAU [INFO] 105. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQSsK2Fib3NBlLOzOFv9gZTQJ_cnkR_tAzTAw&usqp=CAU [INFO] 106. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTDs9YMbjBCpBtXj3NG-5olrO7NmuZIMHNTkw&usqp=CAU [INFO] 107. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRwONt7VcfqnSyfXUAH4xIjOB6ylrnz_NC2OA&usqp=CAU [INFO] 108. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTOGJ36LGKnCCf9K1spSuptO357aQh3fVVggA&usqp=CAU [INFO] 109. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT26Xrzg87sQQH3OErSuawxleZK6Qqvs4GlDw&usqp=CAU [INFO] 110. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSB0Gd3tZzMOvW8K5QwlirYGkBzz6BS7VIeLA&usqp=CAU [INFO] 111. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRizYQzJrIOOgIT1vW4sVuw5x-VSCV3tqbPsA&usqp=CAU [INFO] 112. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSa749IYz77Q4ALRiIELG4TVWbulRuptqZ7DQ&usqp=CAU [INFO] 113. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRnSQBNiHLwBq-X_5OtPY_4qFrG7iA6n2sECw&usqp=CAU [INFO] 114. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQmM3dX0KJWrxO0R-PXgoksqVq0Y4jIX8f9ZQ&usqp=CAU [INFO] 115. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTxwu7SPjkbjnBe1F9LdSDo3rFLkWLJNmrz_Q&usqp=CAU [INFO] 116. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT6NESoCyfDBjZ-nDQEoFqn0F8dkraaeCJgKg&usqp=CAU [INFO] 117. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcROZHxwNA3lnRzgZcHbEy9MieK4FjBLv6Rjcg&usqp=CAU [INFO] 118. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQWdscptcnuRMOY3QDpqChjSiv1qIvcQPdNVA&usqp=CAU [INFO] 119. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRy9yXQKZF-aCJsAXCpLxjo4TkINzl47RjAXA&usqp=CAU [INFO] 120. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRhKzldF77Ah_Ju-xu-1etAwdVwuJwjy5EFnA&usqp=CAU [INFO] 121. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQDiZUxQftfL3RYzAdnCUQcn79hxioj8Fj4Jw&usqp=CAU [INFO] 122. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQShRP9ucZi_X3IOkAt6j0MDFCOYIWgGHXEOg&usqp=CAU [INFO] 123. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQTrCYKog_QmpnXHDQ2Bq5jIV8NuW9nLg3vhQ&usqp=CAU [INFO] 124. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSy1CqbOsEe1rgkEFbmhlyJJiezydbrUzVo-A&usqp=CAU [INFO] 125. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSRj5m6YMmq07u7fLZflmw79xNQfLtylHNpPQ&usqp=CAU [INFO] 126. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTlZU7SaEwi3ZtDiA9KQ2NCUGH56qa2IABoXQ&usqp=CAU [INFO] 127. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSBQttE6F3HHlDTybq4PKz9ZqPc40vh9Rg27A&usqp=CAU [INFO] 128. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRJKsK6Tt5Mq3ANc-SSJrz0uLa4WG5ugrmB2w&usqp=CAU [INFO] 129. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT15FwLX25I_QM0GSlvpHVQS5ZL_mCnsrMfhg&usqp=CAU [INFO] 130. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQAmhFpI8xXysgRmcC3yfMLUybuiR9dFpsHoA&usqp=CAU [INFO] 131. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ0ZmYE0cjJirIuiimEW56VDDfoP9nqxhHd2A&usqp=CAU [INFO] 132. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR4VVJOFdyUhdsn6gU3edNoT3HmfAH48rAnYA&usqp=CAU [INFO] 133. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT3YHTNWPZgzqJWInInYTZ1erSJntEr2P7rEQ&usqp=CAU [INFO] 134. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRPaUV6dqobcus_wTOuP-A-vSGxFVMitHjn8Q&usqp=CAU [INFO] 135. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT0DFspQX9ns9_gGakC6llApUo0pePdm55k-A&usqp=CAU [INFO] 136. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ1IL7GKBQWn3M6hiMsTlhoXprUF_rqanDw8Q&usqp=CAU [INFO] 137. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRpyItZh3PI3sFCZ5d0Pc5KcQdFkOC69OCxtA&usqp=CAU [INFO] 138. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRd0DXARG4bd8GcDfWuFXD3XvVCYuv_lwbAFg&usqp=CAU [INFO] 139. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRjSmthZfCO7-VGpBtjpYIklDh8nlfAmrqcEA&usqp=CAU [INFO] 140. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTUPmpQGG2QHHqDTsvGNoktianp0uRouSzMhw&usqp=CAU [INFO] 141. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwtfWwWRyxg9_5mGZPd4CCVF4P5BnAzyGy-A&usqp=CAU [INFO] 142. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRrD3D5j9ji8v8bu4sUBx-rTa6NOVOZOmESVA&usqp=CAU [INFO] 143. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRgcVH6C9mXZawchPN68frwEdSsQSd6_pJiZw&usqp=CAU [INFO] 144. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSqT8NL_TO6xMP6Q25bI_167PtTFObZCqmixw&usqp=CAU [INFO] 145. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR1fLameL8MSPaNXqwU65C3IW_vKRjFb2XU3A&usqp=CAU [INFO] 146. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRUjOIPkSaKptFNy4J2kiGCr6KjIoIBrwJJNQ&usqp=CAU [INFO] 147. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS2w1M6n-99nhR_zgA_XqWaoSfXw6FTRmkfMQ&usqp=CAU [INFO] 148. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRZ1RgEP06tyIfv_kE6vNSlGu1-QNbcUCrzbA&usqp=CAU [INFO] 149. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT7-w11_0V3gi5WYeCAJ69PszfBFvWV_wbWQg&usqp=CAU [INFO] 150. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSTPNrxTJNSwn95TEFiM0r4a1XDDAFeVsLPew&usqp=CAU [INFO] 151. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSdt3XuyMHrtuGPhpy89ugSU2BwiilqaurTtg&usqp=CAU [INFO] 152. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQgnmu4L6p3yaVLCUgBQPy8AA_OpbDrh2_2BA&usqp=CAU [INFO] 153. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRimGgXN3nxNLIig51Gxz8QcSgA2zjoXL5vGw&usqp=CAU [INFO] 154. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSHzODh4U709NnljN8voj_m7_m5Hn9hW2YA_w&usqp=CAU [INFO] 155. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTt_WYiOwv1AUQpDPaIzHsXlU42fqDpItGVvA&usqp=CAU [INFO] 156. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQKPxwwtcFh3yNVT6UJWiTa7bP_fnUj24kp1w&usqp=CAU [INFO] 157. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSD_dnhoOlb_R9wYlIXJnCEIcuBuGhfpr2nuQ&usqp=CAU [INFO] 158. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQrJFBbXJkHpTbYviktbLTLO_LdjG7oVIdNng&usqp=CAU [INFO] 159. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSDBsRSN-qeow3uvOVHnUGiRP_yNKH0Rf_u4g&usqp=CAU [INFO] 160. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTnuK5DW6pqIL9F_mrbXR2wjTrGEkEox2ohvw&usqp=CAU [INFO] 161. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTYMd5CFxpERndjHunNYGYEbcfuD96aDtlKGw&usqp=CAU [INFO] 162. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRe6V6AOBVDahajv5ldeZO6km_CREgVtqKJow&usqp=CAU [INFO] 163. https://www.sun-sentinel.com/resizer/rkb2BX-SlT2yKWPuG8K5Am0ZFmA=/415x264/top/cloudfront-us-east-1.images.arcpublishing.com/tronc/IUPVFXCSJ5EVHNFGOWD6ZXVLJE.JPG [INFO] 164. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSoe65oi7d3Eg4pV7xYMIKntBzbu5dH4EyI7g&usqp=CAU [INFO] 165. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQOX4DldeHwb51pDwE5b74ZWV7cR8INw_GYPA&usqp=CAU [INFO] 166. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRSE9Jr3WD-U8knsiWKyu14xS-SV-Rmo0vSaw&usqp=CAU [INFO] 167. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRnWKnp6N2VbYND8_CCucfWzxghlOy5YgV73A&usqp=CAU [INFO] 168. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQJJc0gfpcTcuZImiI4yWpt03CKKyxkMLBTEw&usqp=CAU [INFO] 169. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQaZU5nxLwQ_z-pd7XR6CacRwRuFhfke6UVCA&usqp=CAU [INFO] 170. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRoEvKlIwYFKSUVMl-mv1kMOOfmVxqe3_7D2g&usqp=CAU [INFO] 171. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTWazHuMeooVtoVeuyrEihUTNif9LSTfEGiKQ&usqp=CAU [INFO] 172. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTZ_UmM1yQjmJkEpzaEp9AL0AliqXy2bNGI5Q&usqp=CAU [INFO] 173. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQkEszuzkjjvvvDzN5_pJ-7iC7M7YRTwF6KvA&usqp=CAU [INFO] 174. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRt35JE5g_cV8k7wHAc6oJxglg9xzOrxZbFZw&usqp=CAU [INFO] 175. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRwV3x_Umv9zPizpATWeE6gWGMxThJ_Hjxfg&usqp=CAU [INFO] 176. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQmWhDwEQEY_BiVdXHqprNBmJb8gZWvp5V2VA&usqp=CAU [INFO] 177. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTtBi2tI9Ek7EXGxI3g65GwjOk0E9ZJ4OKDwA&usqp=CAU [INFO] 178. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS0e7W6XJrakAFR_q70sn9Pg0JfL8lA4U0oQQ&usqp=CAU [INFO] 179. https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ91jLpZEl3h34gBbrDT_PajS5UNqqE1XtIUg&usqp=CAU [INFO] No more photos. [INFO] Google search ended [INFO] Saving Image... Please wait... [INFO] 0 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida0.jpg [INFO] 1 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida1.jpg [INFO] 2 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida2.jpg [INFO] 3 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida3.jpg [INFO] 4 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida4.jpg [INFO] 5 .Image saved at: E:\1- Educational\1- FIU\4- Fall 2021\CAP 6150 -Advanced Sensor & loT Data Analysis with Deep learning\4- Project\Data\Img_scrp\Google-Image-Scraper-master\photos\crash collision incident i 95 florida5.jpg
Hi, I think there is some problem with the image url. The script doesn't seems to be able to load it. It seems to be a one off issue. I added a timeout of 5 secs, so that it will skip any image that fails to load.
@hossamantarkorin Hi, I am facing the same issue. It seems that we can't download images whose url starts with "https://encrypted-tbn0.gstatic.com/" (The program will say they are downloaded, but they aren't.) I just posted my temporary solution here in #9 .