Skip to content

Commit

Permalink
Fix certificate verify failed in image_grapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeLiao committed Nov 4, 2019
1 parent 3fea288 commit db5f814
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Google_Image_Downloader/image_grapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@
from urllib.request import urlopen, Request

import requests
import ssl
from bs4 import BeautifulSoup
from create_dir import create_directory


ssl._create_default_https_context = ssl._create_unverified_context

GOOGLE_IMAGE = \
'https://www.google.com/search?site=&tbm=isch&source=hp&biw=1873&bih=990&'
WALLPAPERS_KRAFT = 'https://wallpaperscraft.com/search/keywords?'
Expand Down

0 comments on commit db5f814

Please sign in to comment.