HoverHell / RedditImageGrab

Downloads images from sub-reddits of reddit.com.
GNU General Public License v3.0
311 stars 78 forks source link

Script bombs #10

Closed akelling closed 11 years ago

akelling commented 11 years ago

Traceback (most recent call last): File "./redditdownload.py", line 208, in URLS = extract_urls(ITEM['url']) File "./redditdownload.py", line 137, in extract_urls urls = process_imgur_url(url) File "./redditdownload.py", line 111, in process_imgur_url return extract_imgur_album_urls(url) File "./redditdownload.py", line 29, in extract_imgur_album_urls response = urlopen(album_url) File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 406, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 519, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 444, in error return self._call_chain(_args) File "/usr/lib64/python2.7/urllib2.py", line 378, in _call_chain result = func(_args) File "/usr/lib64/python2.7/urllib2.py", line 527, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 502: Bad Gateway

ghost commented 11 years ago

Do you get this error consistently? 502 Bad Gateway means the server was acting as a gateway or proxy and received an invalid response from the upstream server. So it may be temporary issue.

akelling commented 11 years ago

Yep seemed to be an issue with imgur that night.