[newgrounds] catch general Exceptions
This commit is contained in:
@@ -38,7 +38,7 @@ class NewgroundsExtractor(Extractor):
|
|||||||
try:
|
try:
|
||||||
post = self.extract_post(post_url)
|
post = self.extract_post(post_url)
|
||||||
url = post.get("url")
|
url = post.get("url")
|
||||||
except OSError:
|
except Exception:
|
||||||
url = None
|
url = None
|
||||||
|
|
||||||
if url:
|
if url:
|
||||||
|
|||||||
Reference in New Issue
Block a user