Python Forum
Downloading images from webpages
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Downloading images from webpages
#1
Hi all,

I have thousands of images to download that I need to automate. I tried a number of solutions I found on the internet, but they all produce an empty file.
Each link looks like this: http://g2w.ubi.com/farcry2/thumb.php?id=...4d995a558a
There is just one small image in the middle but the link is not pointing directly to a file (which I'm guessing the problem is.) In the browser the image can be downloaded as a png file, also, saving the whole page as will also produce that png image. Would anyone have an idea how python could grab and download that image?
Reply


Messages In This Thread
Downloading images from webpages - by H84Gabor - Sep-29-2021, 10:32 AM
RE: Downloading images from webpages - by Larz60+ - Sep-29-2021, 03:01 PM
RE: Downloading images from webpages - by snippsat - Sep-29-2021, 05:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to to extract urls across multple webpages at once? ilovewacha 2 290 Jun-18-2024, 06:04 PM
Last Post: snippsat
  Downloading a module Xlsxwriter dan789 6 11,654 Jan-26-2019, 02:13 PM
Last Post: dan789
  "if statement" and downloading a dataset Alberto 1 2,608 Jan-25-2018, 01:44 PM
Last Post: ka06059
  Downloading and using pyperclip PMPythonlearner 2 5,218 Dec-31-2017, 04:37 PM
Last Post: PMPythonlearner
  Problem downloading 2.7.8 Mac OSX Benjipincus 2 3,186 Dec-18-2017, 01:33 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020