Linked Questions
43 questions linked to/from Downloading a picture via urllib and python
4
votes
4
answers
12k
views
Python - Saving an image from a url [duplicate]
Is there a way to save a picture from a url using urllib or Beautiful Soup?
-Thanks
0
votes
0
answers
53
views
Anything wrong with my image downloading code? [duplicate]
Environment:
Window 7
Python 2.7.6
Chrome
I am using python 2.7.6 and trying to download the image from the following link. Only 1 image in the link.
Image
But I failed get the ...
0
votes
0
answers
38
views
Download images with Beautiful Soup [duplicate]
I am building a Beautiful Soup script that scrapes a news website. One of the strings that is scraped is an image url (img_src). Is there a way to download the images that are scraped?
I am using ...
487
votes
50
answers
1.4m
views
urllib and "SSL: CERTIFICATE_VERIFY_FAILED" Error
I am getting the following error:
Exception in thread Thread-3:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line ...
204
votes
10
answers
385k
views
Basic http file downloading and saving to disk in python?
I've been going through the Q&A on this site, for an answer to my question. However, I'm a beginner and I find it difficult to understand some of the solutions. I need a very basic solution.
Could ...
141
votes
3
answers
141k
views
What is wrong with using a bare 'except'?
I tried making a function to check if an image is displayed on the screen using PyAutoGui and came up with this:
def check_image_on_screen(image):
try:
pyautogui.locateCenterOnScreen(...
18
votes
3
answers
37k
views
download image from url using python urllib but receiving HTTP Error 403: Forbidden
I want to download image file from a url using python module "urllib.request", which works for some website (e.g. mangastream.com), but does not work for another (mangadoom.co) receiving error "HTTP ...
6
votes
5
answers
29k
views
How do I download images with an https URL in Python 3?
I've tried to make a short mass-downloader script in Python to store lists of images locally.
It works perfectly fine for http image urls, however fails to download any image with an https url. The ...
6
votes
2
answers
19k
views
download images with google custom search api
I have used google image api in python to download 20 first image result with the following code:
import os
import sys
import time
from urllib import FancyURLopener
import urllib2
import simplejson
...
3
votes
3
answers
5k
views
Python 2.7 download images
I'm using python 2.7 and pycharm is my editor. What i'm trying to do is have python go to a site and download an image from that site and save it to my directory. Currently I have no errors but i don'...
2
votes
3
answers
3k
views
How do i download a image from a URL into a specific folder
I've been trying to write a function that receives a list of URLs and downloads each image from each URL to a given folder. I understand that I am supposed to be using the urlib library but I am not ...
1
vote
2
answers
7k
views
How to batch download large number of high resolution satellite images from Google Map directly?
I'm helping a professor working on a satellite image analysis project, we need 800 images stitching together for a square area at 8000x8000 resolution each image from Google Map, it is possible to ...
1
vote
2
answers
2k
views
Using python (urllib/urllib2) to download images is very slow [closed]
i'm trying to download magic the gathering cards' images from scryfall.com. they provide this json file with all informations about every single card (including the url for its image). so i wrote a ...
4
votes
1
answer
7k
views
Batch downloading text and images from URL with Python / urllib / beautifulsoup?
I have been browsing through several posts here but I just cannot get my head around batch-downloading images and text from a given URL with Python.
import urllib,urllib2
import urlparse
from ...
0
votes
2
answers
6k
views
Pandas and Python image to numpy array [closed]
I'm currently teaching myself pandas and python for machine learning. I've done fine with text data thus far, but dealing with image data with limited knowledge of python and pandas is tripping me.
I ...